// Lean compiler output
// Module: Lean.Meta.Constructions.BRecOn
// Imports: public import Lean.Meta.Basic import Lean.Meta.CompletionName import Lean.Meta.PProdN import Lean.Meta.Tactic.Cases import Lean.Meta.Tactic.Refl
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wunused-label"
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
#ifdef __cplusplus
extern "C" {
#endif
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__1;
LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*);
LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__0_spec__0(lean_object*, lean_object*, size_t, size_t);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_ReaderT_instFunctorOfMonad___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__5;
LEAN_EXPORT lean_object* l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_mkPProd(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___redArg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_mkBelowName(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Core_instMonadCoreM___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkBRecOn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_mk_empty_array_with_capacity(lean_object*);
lean_object* l_Lean_mkAppN(lean_object*, lean_object*);
static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__2;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__1___closed__0;
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__12_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__3;
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__2;
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__7;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__7_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6___redArg___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__3_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise___lam__0___closed__0;
LEAN_EXPORT lean_object* l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__2;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Environment_header(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__2___lam__0(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
double lean_float_div(double, double);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_mkBRecOn___closed__1;
static lean_object* l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__10___closed__0;
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__4;
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__0;
lean_object* l_Lean_Level_succ___override(lean_object*);
lean_object* l_Lean_Expr_sort___override(lean_object*);
lean_object* l_Lean_MessageData_ofList(lean_object*);
lean_object* lean_array_push(lean_object*, lean_object*);
static lean_object* l_Lean_mkBelow___closed__0;
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__14_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_unknownIdentifierMessageTag;
uint8_t lean_usize_dec_eq(size_t, size_t);
lean_object* l_Lean_Meta_mkPProdMk(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__3;
lean_object* l_Lean_KVMap_find(lean_object*, lean_object*);
uint8_t l_Lean_Name_isAnonymous(lean_object*);
lean_object* l_Lean_Meta_PProdN_pack(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_replaceRef(lean_object*, lean_object*);
lean_object* lean_mk_array(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__7(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__4_spec__4___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_fvarId_x21(lean_object*);
lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*, uint8_t);
uint8_t lean_float_decLt(double, double);
LEAN_EXPORT lean_object* l_Lean_mkBRecOn___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkBelow___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_markAuxRecursor(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__3;
lean_object* l_Lean_MVarId_refl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__1(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__5;
LEAN_EXPORT lean_object* l_Lean_mkBelow___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_fget_borrowed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__0;
LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBRecOn_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkBRecOn___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3;
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_io_get_num_heartbeats();
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__2;
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__8_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_trace_profiler_useHeartbeats;
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__22_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_stringToMessageData(lean_object*);
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__16;
lean_object* l_Lean_MessageData_note(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__7___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__5___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkBelow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__1;
LEAN_EXPORT uint8_t l_Array_contains___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__0(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_ofFn___redArg(lean_object*, lean_object*);
lean_object* l_Lean_addProtected(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_ReaderT_instMonad___redArg(lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__2_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1___closed__0;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__2___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__2;
LEAN_EXPORT lean_object* l_Lean_mkBRecOn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__4;
uint8_t l_Lean_Expr_hasMVar(lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__1_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__1;
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__5_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__1;
lean_object* l_Nat_reprFast(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__11___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
size_t lean_usize_of_nat(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__1;
LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBRecOn_spec__0___boxed(lean_object**);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__11___lam__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_finIdxOf_x3f___at___00Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0_spec__0(lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__3;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_st_ref_take(lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___closed__1;
uint8_t lean_expr_eqv(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_ReaderT_instApplicativeOfMonad___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_instMonadEST(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__1___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__7;
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__5___boxed(lean_object**);
lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_contains___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__0___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__10_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__0;
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__4(uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_mkLevelMax(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
double lean_float_of_nat(lean_object*);
lean_object* l_instInhabitedOfMonad___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_st_ref_get(lean_object*);
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_to_list(lean_object*);
lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6___redArg(lean_object*);
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__13;
uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*, lean_object*);
lean_object* l_Array_ofSubarray___redArg(lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__7;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___closed__0;
static lean_object* l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__2;
lean_object* lean_io_mono_nanos_now();
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__10;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_instInhabitedExpr;
static double l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__0;
lean_object* l_Lean_mkBRecOnName(lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__1;
lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBelow_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0;
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__6;
uint8_t lean_name_eq(lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__4;
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
lean_object* l_Lean_PersistentArray_append___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Core_instMonadCoreM___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__1___boxed(lean_object**);
LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBelow_spec__0___boxed(lean_object**);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__17_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBelow_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__1;
lean_object* l_Lean_Meta_mkPProdFstM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_trace_profiler_threshold;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__12(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__2;
LEAN_EXPORT lean_object* l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___redArg(lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___closed__0;
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__5;
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusCore(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2(lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__23_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__9_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__12;
uint8_t l_Lean_Environment_hasUnsafe(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__7(size_t, size_t, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__3;
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_get_borrowed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2____boxed(lean_object*);
lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t);
lean_object* l_Lean_mkRecName(lean_object*);
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__14;
uint8_t l_Lean_Environment_contains(lean_object*, lean_object*, uint8_t);
lean_object* l_Lean_MessageData_ofExpr(lean_object*);
static lean_object* l_Lean_mkBRecOn___closed__0;
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__0;
lean_object* l_Lean_FVarId_getUserName___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__0;
lean_object* l_Lean_MVarId_cases(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__21_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_getAppNumArgs(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_name_append_index_after(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_typeFormerTypeLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkBelow___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__3(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__4;
lean_object* l_Lean_Meta_instMonadMetaM___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__7___boxed(lean_object*, lean_object*);
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__9;
lean_object* l_Lean_Meta_instMonadMetaM___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_isPropFormerType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBRecOn_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__5___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__5;
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__3(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkBelow___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___boxed__const__1;
lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*);
lean_object* l_Lean_PersistentArray_toArray___redArg(lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__20_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
lean_object* l_Lean_EnvironmentHeader_moduleNames(lean_object*);
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__0;
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__2;
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__19_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__0_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
lean_object* l_ReaderT_instApplicativeOfMonad___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_set(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_instInhabitedMetaM___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_mkBelow___closed__1;
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Array_toSubarray___redArg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__11;
lean_object* lean_panic_fn(lean_object*, lean_object*);
lean_object* l_List_reverse___redArg(lean_object*);
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__18;
LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__24_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
lean_object* lean_nat_sub(lean_object*, lean_object*);
lean_object* l_Lean_Expr_getAppFn(lean_object*);
lean_object* l_Array_append___redArg(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_PProdN_mk(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__3;
uint8_t l_Lean_isPrivateName(lean_object*);
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__19;
LEAN_EXPORT lean_object* l_Array_finIdxOf_x3f___at___00Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0_spec__0___boxed(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__4_spec__4(size_t, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg(lean_object*);
static lean_object* l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__1;
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__20;
static lean_object* l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__0;
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__5;
LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_array_mk(lean_object*);
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_ReaderT_instApplicativeOfMonad___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_instantiateMVarsCore(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBRecOn_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Level_param___override(lean_object*);
size_t lean_usize_add(size_t, size_t);
lean_object* l_mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__3;
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__8;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___redArg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_mkBelow___closed__3;
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg(lean_object*, uint8_t, lean_object*, lean_object*);
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__6;
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1___closed__1;
lean_object* lean_array_uget(lean_object*, size_t);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__0(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
size_t lean_array_size(lean_object*);
extern lean_object* l_Lean_trace_profiler;
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__5;
LEAN_EXPORT lean_object* l_Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0(lean_object*, lean_object*);
lean_object* lean_st_ref_set(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__16_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
lean_object* l_Lean_Name_mkStr1(lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__11_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__15_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkBelow___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_string_append(lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__15;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Pi_instInhabited___redArg(lean_object*);
lean_object* lean_array_get_size(lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__4;
LEAN_EXPORT lean_object* l_Array_idxOfAux___at___00Array_finIdxOf_x3f___at___00Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__9(lean_object*, lean_object*);
static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__0;
lean_object* lean_array_get(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Array_idxOfAux___at___00Array_finIdxOf_x3f___at___00Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*);
static double l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__6;
uint8_t lean_usize_dec_lt(size_t, size_t);
lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_object* lean_nat_add(lean_object*, lean_object*);
static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__17;
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__18_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__4;
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__13_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Environment_setExporting(lean_object*, uint8_t);
lean_object* l_Lean_Meta_mkPProdSndM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__3___boxed(lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__1;
static lean_object* l_Lean_mkBelow___closed__2;
LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Expr_mvarId_x21(lean_object*);
static lean_object* l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__7;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___boxed(lean_object**);
static lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0___closed__0;
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go___lam__0___closed__0;
static lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__2;
static double l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__3;
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__6;
lean_object* lean_array_uset(lean_object*, size_t, lean_object*);
LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBelow_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_MessageData_ofName(lean_object*);
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__4_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__0___closed__0;
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_List_get_x21Internal___redArg(lean_object*, lean_object*, lean_object*);
static lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__2;
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_addDecl(lean_object*, uint8_t, lean_object*, lean_object*);
static lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__1;
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
static lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__6_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
double lean_float_sub(double, double);
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_ReaderT_instFunctorOfMonad___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_9; 
x_9 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, lean_box(0));
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; 
x_9 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg___lam__0___boxed), 8, 1);
lean_closure_set(x_9, 0, x_2);
x_10 = 0;
x_11 = lean_box(0);
x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux(lean_box(0), x_10, x_11, x_1, x_9, x_3, x_10, x_4, x_5, x_6, x_7);
if (lean_obj_tag(x_12) == 0)
{
uint8_t x_13; 
x_13 = !lean_is_exclusive(x_12);
if (x_13 == 0)
{
return x_12;
}
else
{
lean_object* x_14; lean_object* x_15; 
x_14 = lean_ctor_get(x_12, 0);
lean_inc(x_14);
lean_dec(x_12);
x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_14);
return x_15;
}
}
else
{
uint8_t x_16; 
x_16 = !lean_is_exclusive(x_12);
if (x_16 == 0)
{
return x_12;
}
else
{
lean_object* x_17; lean_object* x_18; 
x_17 = lean_ctor_get(x_12, 0);
lean_inc(x_17);
lean_dec(x_12);
x_18 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_18, 0, x_17);
return x_18;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_10; 
x_10 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; 
x_8 = lean_apply_6(x_1, x_2, x_3, x_4, x_5, x_6, lean_box(0));
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_11; lean_object* x_12; 
x_11 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___redArg___lam__0___boxed), 7, 1);
lean_closure_set(x_11, 0, x_4);
x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp(lean_box(0), x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9);
if (lean_obj_tag(x_12) == 0)
{
uint8_t x_13; 
x_13 = !lean_is_exclusive(x_12);
if (x_13 == 0)
{
return x_12;
}
else
{
lean_object* x_14; lean_object* x_15; 
x_14 = lean_ctor_get(x_12, 0);
lean_inc(x_14);
lean_dec(x_12);
x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_14);
return x_15;
}
}
else
{
uint8_t x_16; 
x_16 = !lean_is_exclusive(x_12);
if (x_16 == 0)
{
return x_12;
}
else
{
lean_object* x_17; lean_object* x_18; 
x_17 = lean_ctor_get(x_12, 0);
lean_inc(x_17);
lean_dec(x_12);
x_18 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_18, 0, x_17);
return x_18;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_12; 
x_12 = l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
uint8_t x_9; uint8_t x_10; lean_object* x_11; 
x_9 = 0;
x_10 = 0;
x_11 = l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___redArg(x_1, x_9, x_2, x_3, x_10, x_4, x_5, x_6, x_7);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_10; 
x_10 = l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8);
return x_10;
}
}
LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__0_spec__0(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) {
_start:
{
uint8_t x_5; 
x_5 = lean_usize_dec_eq(x_3, x_4);
if (x_5 == 0)
{
lean_object* x_6; uint8_t x_7; 
x_6 = lean_array_uget(x_2, x_3);
x_7 = lean_expr_eqv(x_1, x_6);
lean_dec(x_6);
if (x_7 == 0)
{
size_t x_8; size_t x_9; 
x_8 = 1;
x_9 = lean_usize_add(x_3, x_8);
x_3 = x_9;
goto _start;
}
else
{
return x_7;
}
}
else
{
uint8_t x_11; 
x_11 = 0;
return x_11;
}
}
}
LEAN_EXPORT uint8_t l_Array_contains___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; uint8_t x_5; 
x_3 = lean_unsigned_to_nat(0u);
x_4 = lean_array_get_size(x_1);
x_5 = lean_nat_dec_lt(x_3, x_4);
if (x_5 == 0)
{
lean_dec(x_4);
return x_5;
}
else
{
if (x_5 == 0)
{
lean_dec(x_4);
return x_5;
}
else
{
size_t x_6; size_t x_7; uint8_t x_8; 
x_6 = 0;
x_7 = lean_usize_of_nat(x_4);
lean_dec(x_4);
x_8 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__0_spec__0(x_2, x_1, x_6, x_7);
return x_8;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__0(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; 
x_10 = l_Lean_Expr_sort___override(x_1);
x_11 = 0;
x_12 = 1;
x_13 = l_Lean_Meta_mkForallFVars(x_3, x_10, x_11, x_2, x_2, x_12, x_5, x_6, x_7, x_8);
return x_13;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__1___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(1u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
uint8_t x_10; lean_object* x_11; 
x_10 = lean_unbox(x_2);
x_11 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__0(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_4);
lean_dec_ref(x_3);
return x_11;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) {
_start:
{
uint8_t x_15; uint8_t x_16; lean_object* x_17; 
x_15 = lean_unbox(x_3);
x_16 = lean_unbox(x_4);
x_17 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__1(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec_ref(x_1);
return x_17;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_14; uint8_t x_15; uint8_t x_16; 
x_14 = l_Lean_Expr_getAppFn(x_8);
x_15 = l_Array_contains___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__0(x_1, x_14);
lean_dec_ref(x_14);
x_16 = 1;
if (x_15 == 0)
{
lean_object* x_17; 
lean_dec_ref(x_8);
lean_dec_ref(x_7);
lean_dec_ref(x_6);
lean_inc(x_12);
lean_inc_ref(x_11);
lean_inc(x_10);
lean_inc_ref(x_9);
x_17 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go(x_2, x_1, x_3, x_4, x_9, x_10, x_11, x_12);
if (lean_obj_tag(x_17) == 0)
{
lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; 
x_18 = lean_ctor_get(x_17, 0);
lean_inc(x_18);
lean_dec_ref(x_17);
x_19 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__1___closed__0;
x_20 = lean_array_push(x_19, x_5);
x_21 = 1;
x_22 = l_Lean_Meta_mkLambdaFVars(x_20, x_18, x_15, x_16, x_15, x_16, x_21, x_9, x_10, x_11, x_12);
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec_ref(x_20);
return x_22;
}
else
{
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec_ref(x_5);
return x_17;
}
}
else
{
lean_object* x_23; lean_object* x_24; 
x_23 = l_Lean_Expr_fvarId_x21(x_5);
lean_dec_ref(x_5);
lean_inc_ref(x_9);
x_24 = l_Lean_FVarId_getUserName___redArg(x_23, x_9, x_11, x_12);
if (lean_obj_tag(x_24) == 0)
{
lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; 
x_25 = lean_ctor_get(x_24, 0);
lean_inc(x_25);
lean_dec_ref(x_24);
x_26 = lean_box(x_16);
lean_inc(x_2);
x_27 = lean_alloc_closure((void*)(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__0___boxed), 9, 2);
lean_closure_set(x_27, 0, x_2);
lean_closure_set(x_27, 1, x_26);
x_28 = 0;
lean_inc(x_12);
lean_inc_ref(x_11);
lean_inc(x_10);
lean_inc_ref(x_9);
x_29 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_6, x_27, x_28, x_9, x_10, x_11, x_12);
if (lean_obj_tag(x_29) == 0)
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; 
x_30 = lean_ctor_get(x_29, 0);
lean_inc(x_30);
lean_dec_ref(x_29);
x_31 = lean_box(x_28);
x_32 = lean_box(x_16);
x_33 = lean_alloc_closure((void*)(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__1___boxed), 14, 8);
lean_closure_set(x_33, 0, x_7);
lean_closure_set(x_33, 1, x_8);
lean_closure_set(x_33, 2, x_31);
lean_closure_set(x_33, 3, x_32);
lean_closure_set(x_33, 4, x_3);
lean_closure_set(x_33, 5, x_2);
lean_closure_set(x_33, 6, x_1);
lean_closure_set(x_33, 7, x_4);
x_34 = l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3___redArg(x_25, x_30, x_33, x_9, x_10, x_11, x_12);
return x_34;
}
else
{
lean_dec(x_25);
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec_ref(x_8);
lean_dec_ref(x_7);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec_ref(x_1);
return x_29;
}
}
else
{
uint8_t x_35; 
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec_ref(x_8);
lean_dec_ref(x_7);
lean_dec_ref(x_6);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec_ref(x_1);
x_35 = !lean_is_exclusive(x_24);
if (x_35 == 0)
{
return x_24;
}
else
{
lean_object* x_36; lean_object* x_37; 
x_36 = lean_ctor_get(x_24, 0);
lean_inc(x_36);
lean_dec(x_24);
x_37 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_37, 0, x_36);
return x_37;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_14; 
x_14 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12);
return x_14;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
if (lean_obj_tag(x_4) == 0)
{
lean_object* x_10; 
lean_dec_ref(x_2);
x_10 = l_Lean_Meta_PProdN_pack(x_1, x_3, x_5, x_6, x_7, x_8);
return x_10;
}
else
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_11 = lean_ctor_get(x_4, 0);
lean_inc(x_11);
x_12 = lean_ctor_get(x_4, 1);
lean_inc(x_12);
lean_dec_ref(x_4);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_11);
x_13 = lean_infer_type(x_11, x_5, x_6, x_7, x_8);
if (lean_obj_tag(x_13) == 0)
{
lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; 
x_14 = lean_ctor_get(x_13, 0);
lean_inc(x_14);
lean_dec_ref(x_13);
lean_inc(x_14);
x_15 = lean_alloc_closure((void*)(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__2___boxed), 13, 6);
lean_closure_set(x_15, 0, x_2);
lean_closure_set(x_15, 1, x_1);
lean_closure_set(x_15, 2, x_3);
lean_closure_set(x_15, 3, x_12);
lean_closure_set(x_15, 4, x_11);
lean_closure_set(x_15, 5, x_14);
x_16 = 0;
x_17 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_14, x_15, x_16, x_5, x_6, x_7, x_8);
return x_17;
}
else
{
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_13;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
lean_object* x_15; lean_object* x_16; 
lean_inc_ref(x_9);
x_15 = l_Lean_mkAppN(x_9, x_1);
lean_inc(x_13);
lean_inc_ref(x_12);
lean_inc(x_11);
lean_inc_ref(x_10);
x_16 = l_Lean_Meta_mkPProd(x_2, x_15, x_10, x_11, x_12, x_13);
if (lean_obj_tag(x_16) == 0)
{
lean_object* x_17; uint8_t x_18; lean_object* x_19; 
x_17 = lean_ctor_get(x_16, 0);
lean_inc(x_17);
lean_dec_ref(x_16);
x_18 = 1;
x_19 = l_Lean_Meta_mkForallFVars(x_1, x_17, x_3, x_4, x_4, x_18, x_10, x_11, x_12, x_13);
if (lean_obj_tag(x_19) == 0)
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_20 = lean_ctor_get(x_19, 0);
lean_inc(x_20);
lean_dec_ref(x_19);
x_21 = lean_array_push(x_5, x_20);
lean_inc(x_13);
lean_inc_ref(x_12);
lean_inc(x_11);
lean_inc_ref(x_10);
x_22 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go(x_6, x_7, x_21, x_8, x_10, x_11, x_12, x_13);
if (lean_obj_tag(x_22) == 0)
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_23 = lean_ctor_get(x_22, 0);
lean_inc(x_23);
lean_dec_ref(x_22);
x_24 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__1___closed__0;
x_25 = lean_array_push(x_24, x_9);
x_26 = l_Lean_Meta_mkLambdaFVars(x_25, x_23, x_3, x_4, x_3, x_4, x_18, x_10, x_11, x_12, x_13);
lean_dec(x_13);
lean_dec_ref(x_12);
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec_ref(x_25);
return x_26;
}
else
{
lean_dec(x_13);
lean_dec_ref(x_12);
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec_ref(x_9);
return x_22;
}
}
else
{
lean_dec(x_13);
lean_dec_ref(x_12);
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
return x_19;
}
}
else
{
lean_dec(x_13);
lean_dec_ref(x_12);
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
return x_16;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
uint8_t x_10; lean_object* x_11; 
x_10 = lean_unbox(x_4);
x_11 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2(x_1, x_2, x_3, x_10, x_5, x_6, x_7, x_8);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; uint8_t x_13; lean_object* x_14; 
x_12 = lean_unbox(x_3);
x_13 = lean_unbox(x_6);
x_14 = l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3(x_1, x_2, x_12, x_4, x_5, x_13, x_7, x_8, x_9, x_10);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_10; 
x_10 = l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
uint8_t x_11; uint8_t x_12; lean_object* x_13; 
x_11 = lean_unbox(x_2);
x_12 = lean_unbox(x_5);
x_13 = l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___redArg(x_1, x_11, x_3, x_4, x_12, x_6, x_7, x_8, x_9);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
uint8_t x_9; lean_object* x_10; 
x_9 = lean_unbox(x_3);
x_10 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_1, x_2, x_9, x_4, x_5, x_6, x_7);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Array_contains___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Array_contains___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__0(x_1, x_2);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; 
x_5 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_6 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_7 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__0_spec__0(x_1, x_2, x_5, x_6);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_8 = lean_box(x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_10; 
x_10 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
return x_10;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise___lam__0___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise___lam__0___closed__0;
x_11 = lean_array_to_list(x_3);
x_12 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8);
return x_12;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_10; 
x_10 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
lean_dec_ref(x_4);
return x_10;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_9; uint8_t x_10; lean_object* x_11; 
x_9 = lean_alloc_closure((void*)(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise___lam__0___boxed), 9, 2);
lean_closure_set(x_9, 0, x_1);
lean_closure_set(x_9, 1, x_2);
x_10 = 0;
x_11 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_3, x_9, x_10, x_4, x_5, x_6, x_7);
return x_11;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; uint8_t x_9; uint8_t x_16; lean_object* x_20; uint8_t x_21; 
x_8 = lean_st_ref_get(x_6);
x_20 = lean_ctor_get(x_8, 0);
lean_inc_ref(x_20);
lean_dec(x_8);
lean_inc_ref(x_20);
x_21 = l_Lean_Environment_hasUnsafe(x_20, x_3);
if (x_21 == 0)
{
uint8_t x_22; 
x_22 = l_Lean_Environment_hasUnsafe(x_20, x_4);
x_16 = x_22;
goto block_19;
}
else
{
lean_dec_ref(x_20);
x_16 = x_21;
goto block_19;
}
block_15:
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
lean_inc(x_1);
x_10 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_10, 0, x_1);
lean_ctor_set(x_10, 1, x_2);
lean_ctor_set(x_10, 2, x_3);
x_11 = lean_box(0);
x_12 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_12, 0, x_1);
lean_ctor_set(x_12, 1, x_11);
x_13 = lean_alloc_ctor(0, 4, 1);
lean_ctor_set(x_13, 0, x_10);
lean_ctor_set(x_13, 1, x_4);
lean_ctor_set(x_13, 2, x_5);
lean_ctor_set(x_13, 3, x_12);
lean_ctor_set_uint8(x_13, sizeof(void*)*4, x_9);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
block_19:
{
if (x_16 == 0)
{
uint8_t x_17; 
x_17 = 1;
x_9 = x_17;
goto block_15;
}
else
{
uint8_t x_18; 
x_18 = 0;
x_9 = x_18;
goto block_15;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_11; 
x_11 = l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13___redArg(x_1, x_2, x_3, x_4, x_5, x_9);
return x_11;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0));
return x_1;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__1;
x_2 = lean_unsigned_to_nat(0u);
x_3 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_3, 0, x_2);
lean_ctor_set(x_3, 1, x_2);
lean_ctor_set(x_3, 2, x_2);
lean_ctor_set(x_3, 3, x_1);
lean_ctor_set(x_3, 4, x_1);
lean_ctor_set(x_3, 5, x_1);
lean_ctor_set(x_3, 6, x_1);
lean_ctor_set(x_3, 7, x_1);
lean_ctor_set(x_3, 8, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(32u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__4() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__3;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__5() {
_start:
{
size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = 5;
x_2 = lean_unsigned_to_nat(0u);
x_3 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__3;
x_4 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__4;
x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_3);
lean_ctor_set(x_5, 2, x_2);
lean_ctor_set(x_5, 3, x_2);
lean_ctor_set_usize(x_5, 4, x_1);
return x_5;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__6() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; 
x_1 = lean_box(1);
x_2 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__5;
x_3 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__1;
x_4 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_4, 0, x_3);
lean_ctor_set(x_4, 1, x_2);
lean_ctor_set(x_4, 2, x_1);
return x_4;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("A private declaration `", 23, 23);
return x_1;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__8() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__7;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__9() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("` (from the current module) exists but would need to be public to access here.", 78, 78);
return x_1;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__10() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__9;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__11() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("A public declaration `", 22, 22);
return x_1;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__12() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__11;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__13() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("` exists but is imported privately; consider adding `public import ", 67, 67);
return x_1;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__14() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__13;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__15() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("`.", 2, 2);
return x_1;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__16() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__15;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__17() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("` (from `", 9, 9);
return x_1;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__18() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__17;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__19() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("`) exists but would need to be public to access here.", 53, 53);
return x_1;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__20() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__19;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_5 = lean_st_ref_get(x_3);
x_6 = lean_ctor_get(x_5, 0);
lean_inc_ref(x_6);
lean_dec(x_5);
x_7 = l_Lean_Name_isAnonymous(x_2);
if (x_7 == 0)
{
uint8_t x_8; 
x_8 = lean_ctor_get_uint8(x_6, sizeof(void*)*8);
if (x_8 == 0)
{
lean_object* x_9; 
lean_dec_ref(x_6);
lean_dec(x_2);
x_9 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_9, 0, x_1);
return x_9;
}
else
{
lean_object* x_10; uint8_t x_11; 
lean_inc_ref(x_6);
x_10 = l_Lean_Environment_setExporting(x_6, x_7);
lean_inc(x_2);
lean_inc_ref(x_10);
x_11 = l_Lean_Environment_contains(x_10, x_2, x_8);
if (x_11 == 0)
{
lean_object* x_12; 
lean_dec_ref(x_10);
lean_dec_ref(x_6);
lean_dec(x_2);
x_12 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_12, 0, x_1);
return x_12;
}
else
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_13 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__2;
x_14 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__6;
x_15 = lean_box(0);
x_16 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_16, 0, x_10);
lean_ctor_set(x_16, 1, x_13);
lean_ctor_set(x_16, 2, x_14);
lean_ctor_set(x_16, 3, x_15);
lean_inc(x_2);
x_17 = l_Lean_MessageData_ofConstName(x_2, x_7);
x_18 = lean_alloc_ctor(3, 2, 0);
lean_ctor_set(x_18, 0, x_16);
lean_ctor_set(x_18, 1, x_17);
x_19 = l_Lean_Environment_getModuleIdxFor_x3f(x_6, x_2);
if (lean_obj_tag(x_19) == 0)
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
lean_dec_ref(x_6);
lean_dec(x_2);
x_20 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__8;
x_21 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_21, 0, x_20);
lean_ctor_set(x_21, 1, x_18);
x_22 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__10;
x_23 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_23, 0, x_21);
lean_ctor_set(x_23, 1, x_22);
x_24 = l_Lean_MessageData_note(x_23);
x_25 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_25, 0, x_1);
lean_ctor_set(x_25, 1, x_24);
x_26 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_26, 0, x_25);
return x_26;
}
else
{
uint8_t x_27; 
x_27 = !lean_is_exclusive(x_19);
if (x_27 == 0)
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; 
x_28 = lean_ctor_get(x_19, 0);
x_29 = lean_box(0);
x_30 = l_Lean_Environment_header(x_6);
lean_dec_ref(x_6);
x_31 = l_Lean_EnvironmentHeader_moduleNames(x_30);
x_32 = lean_array_get(x_29, x_31, x_28);
lean_dec(x_28);
lean_dec_ref(x_31);
x_33 = l_Lean_isPrivateName(x_2);
lean_dec(x_2);
if (x_33 == 0)
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; 
x_34 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__12;
x_35 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_35, 0, x_34);
lean_ctor_set(x_35, 1, x_18);
x_36 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__14;
x_37 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_37, 0, x_35);
lean_ctor_set(x_37, 1, x_36);
x_38 = l_Lean_MessageData_ofName(x_32);
x_39 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_39, 0, x_37);
lean_ctor_set(x_39, 1, x_38);
x_40 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__16;
x_41 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_41, 0, x_39);
lean_ctor_set(x_41, 1, x_40);
x_42 = l_Lean_MessageData_note(x_41);
x_43 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_43, 0, x_1);
lean_ctor_set(x_43, 1, x_42);
lean_ctor_set_tag(x_19, 0);
lean_ctor_set(x_19, 0, x_43);
return x_19;
}
else
{
lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; 
x_44 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__8;
x_45 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_45, 0, x_44);
lean_ctor_set(x_45, 1, x_18);
x_46 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__18;
x_47 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_47, 0, x_45);
lean_ctor_set(x_47, 1, x_46);
x_48 = l_Lean_MessageData_ofName(x_32);
x_49 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_49, 0, x_47);
lean_ctor_set(x_49, 1, x_48);
x_50 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__20;
x_51 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_51, 0, x_49);
lean_ctor_set(x_51, 1, x_50);
x_52 = l_Lean_MessageData_note(x_51);
x_53 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_53, 0, x_1);
lean_ctor_set(x_53, 1, x_52);
lean_ctor_set_tag(x_19, 0);
lean_ctor_set(x_19, 0, x_53);
return x_19;
}
}
else
{
lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; 
x_54 = lean_ctor_get(x_19, 0);
lean_inc(x_54);
lean_dec(x_19);
x_55 = lean_box(0);
x_56 = l_Lean_Environment_header(x_6);
lean_dec_ref(x_6);
x_57 = l_Lean_EnvironmentHeader_moduleNames(x_56);
x_58 = lean_array_get(x_55, x_57, x_54);
lean_dec(x_54);
lean_dec_ref(x_57);
x_59 = l_Lean_isPrivateName(x_2);
lean_dec(x_2);
if (x_59 == 0)
{
lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; 
x_60 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__12;
x_61 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_61, 0, x_60);
lean_ctor_set(x_61, 1, x_18);
x_62 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__14;
x_63 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_63, 0, x_61);
lean_ctor_set(x_63, 1, x_62);
x_64 = l_Lean_MessageData_ofName(x_58);
x_65 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_65, 0, x_63);
lean_ctor_set(x_65, 1, x_64);
x_66 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__16;
x_67 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_67, 0, x_65);
lean_ctor_set(x_67, 1, x_66);
x_68 = l_Lean_MessageData_note(x_67);
x_69 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_69, 0, x_1);
lean_ctor_set(x_69, 1, x_68);
x_70 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_70, 0, x_69);
return x_70;
}
else
{
lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; 
x_71 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__8;
x_72 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_72, 0, x_71);
lean_ctor_set(x_72, 1, x_18);
x_73 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__18;
x_74 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_74, 0, x_72);
lean_ctor_set(x_74, 1, x_73);
x_75 = l_Lean_MessageData_ofName(x_58);
x_76 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_76, 0, x_74);
lean_ctor_set(x_76, 1, x_75);
x_77 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__20;
x_78 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_78, 0, x_76);
lean_ctor_set(x_78, 1, x_77);
x_79 = l_Lean_MessageData_note(x_78);
x_80 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_80, 0, x_1);
lean_ctor_set(x_80, 1, x_79);
x_81 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_81, 0, x_80);
return x_81;
}
}
}
}
}
}
else
{
lean_object* x_82; 
lean_dec_ref(x_6);
lean_dec(x_2);
x_82 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_82, 0, x_1);
return x_82;
}
}
}
LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_6);
return x_8;
}
}
static lean_object* _init_l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0));
return x_1;
}
}
static lean_object* _init_l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__0;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__1;
x_2 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_2, 0, x_1);
lean_ctor_set(x_2, 1, x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__1;
x_2 = lean_alloc_ctor(0, 6, 0);
lean_ctor_set(x_2, 0, x_1);
lean_ctor_set(x_2, 1, x_1);
lean_ctor_set(x_2, 2, x_1);
lean_ctor_set(x_2, 3, x_1);
lean_ctor_set(x_2, 4, x_1);
lean_ctor_set(x_2, 5, x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_6; uint8_t x_7; 
x_6 = lean_st_ref_take(x_4);
x_7 = !lean_is_exclusive(x_6);
if (x_7 == 0)
{
lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; 
x_8 = lean_ctor_get(x_6, 0);
x_9 = lean_ctor_get(x_6, 5);
lean_dec(x_9);
x_10 = 0;
x_11 = lean_box(0);
x_12 = l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusCore(x_8, x_1, x_2, x_10, x_11);
x_13 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__2;
lean_ctor_set(x_6, 5, x_13);
lean_ctor_set(x_6, 0, x_12);
x_14 = lean_st_ref_set(x_4, x_6);
x_15 = lean_st_ref_take(x_3);
x_16 = !lean_is_exclusive(x_15);
if (x_16 == 0)
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 
x_17 = lean_ctor_get(x_15, 1);
lean_dec(x_17);
x_18 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3;
lean_ctor_set(x_15, 1, x_18);
x_19 = lean_st_ref_set(x_3, x_15);
x_20 = lean_box(0);
x_21 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_21, 0, x_20);
return x_21;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_22 = lean_ctor_get(x_15, 0);
x_23 = lean_ctor_get(x_15, 2);
x_24 = lean_ctor_get(x_15, 3);
x_25 = lean_ctor_get(x_15, 4);
lean_inc(x_25);
lean_inc(x_24);
lean_inc(x_23);
lean_inc(x_22);
lean_dec(x_15);
x_26 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3;
x_27 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_27, 0, x_22);
lean_ctor_set(x_27, 1, x_26);
lean_ctor_set(x_27, 2, x_23);
lean_ctor_set(x_27, 3, x_24);
lean_ctor_set(x_27, 4, x_25);
x_28 = lean_st_ref_set(x_3, x_27);
x_29 = lean_box(0);
x_30 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_30, 0, x_29);
return x_30;
}
}
else
{
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; 
x_31 = lean_ctor_get(x_6, 0);
x_32 = lean_ctor_get(x_6, 1);
x_33 = lean_ctor_get(x_6, 2);
x_34 = lean_ctor_get(x_6, 3);
x_35 = lean_ctor_get(x_6, 4);
x_36 = lean_ctor_get(x_6, 6);
x_37 = lean_ctor_get(x_6, 7);
x_38 = lean_ctor_get(x_6, 8);
lean_inc(x_38);
lean_inc(x_37);
lean_inc(x_36);
lean_inc(x_35);
lean_inc(x_34);
lean_inc(x_33);
lean_inc(x_32);
lean_inc(x_31);
lean_dec(x_6);
x_39 = 0;
x_40 = lean_box(0);
x_41 = l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusCore(x_31, x_1, x_2, x_39, x_40);
x_42 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__2;
x_43 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_43, 0, x_41);
lean_ctor_set(x_43, 1, x_32);
lean_ctor_set(x_43, 2, x_33);
lean_ctor_set(x_43, 3, x_34);
lean_ctor_set(x_43, 4, x_35);
lean_ctor_set(x_43, 5, x_42);
lean_ctor_set(x_43, 6, x_36);
lean_ctor_set(x_43, 7, x_37);
lean_ctor_set(x_43, 8, x_38);
x_44 = lean_st_ref_set(x_4, x_43);
x_45 = lean_st_ref_take(x_3);
x_46 = lean_ctor_get(x_45, 0);
lean_inc_ref(x_46);
x_47 = lean_ctor_get(x_45, 2);
lean_inc(x_47);
x_48 = lean_ctor_get(x_45, 3);
lean_inc_ref(x_48);
x_49 = lean_ctor_get(x_45, 4);
lean_inc_ref(x_49);
if (lean_is_exclusive(x_45)) {
 lean_ctor_release(x_45, 0);
 lean_ctor_release(x_45, 1);
 lean_ctor_release(x_45, 2);
 lean_ctor_release(x_45, 3);
 lean_ctor_release(x_45, 4);
 x_50 = x_45;
} else {
 lean_dec_ref(x_45);
 x_50 = lean_box(0);
}
x_51 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3;
if (lean_is_scalar(x_50)) {
 x_52 = lean_alloc_ctor(0, 5, 0);
} else {
 x_52 = x_50;
}
lean_ctor_set(x_52, 0, x_46);
lean_ctor_set(x_52, 1, x_51);
lean_ctor_set(x_52, 2, x_47);
lean_ctor_set(x_52, 3, x_48);
lean_ctor_set(x_52, 4, x_49);
x_53 = lean_st_ref_set(x_3, x_52);
x_54 = lean_box(0);
x_55 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_55, 0, x_54);
return x_55;
}
}
}
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg(x_1, x_2, x_4, x_6);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_7 = lean_st_ref_get(x_5);
x_8 = lean_ctor_get(x_7, 0);
lean_inc_ref(x_8);
lean_dec(x_7);
x_9 = lean_st_ref_get(x_3);
x_10 = lean_ctor_get(x_9, 0);
lean_inc_ref(x_10);
lean_dec(x_9);
x_11 = lean_ctor_get(x_2, 2);
x_12 = lean_ctor_get(x_4, 2);
lean_inc(x_12);
lean_inc_ref(x_11);
x_13 = lean_alloc_ctor(0, 4, 0);
lean_ctor_set(x_13, 0, x_8);
lean_ctor_set(x_13, 1, x_10);
lean_ctor_set(x_13, 2, x_11);
lean_ctor_set(x_13, 3, x_12);
x_14 = lean_alloc_ctor(3, 2, 0);
lean_ctor_set(x_14, 0, x_13);
lean_ctor_set(x_14, 1, x_1);
x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_14);
return x_15;
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; lean_object* x_8; uint8_t x_9; 
x_7 = lean_ctor_get(x_4, 5);
x_8 = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2_spec__2(x_1, x_2, x_3, x_4, x_5);
x_9 = !lean_is_exclusive(x_8);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; 
x_10 = lean_ctor_get(x_8, 0);
lean_inc(x_7);
x_11 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_11, 0, x_7);
lean_ctor_set(x_11, 1, x_10);
lean_ctor_set_tag(x_8, 1);
lean_ctor_set(x_8, 0, x_11);
return x_8;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_12 = lean_ctor_get(x_8, 0);
lean_inc(x_12);
lean_dec(x_8);
lean_inc(x_7);
x_13 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_13, 0, x_7);
lean_ctor_set(x_13, 1, x_12);
x_14 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(x_2, x_3, x_4, x_5, x_6);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
uint8_t x_8; 
x_8 = !lean_is_exclusive(x_5);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_9 = lean_ctor_get(x_5, 5);
x_10 = l_Lean_replaceRef(x_1, x_9);
lean_dec(x_9);
lean_ctor_set(x_5, 5, x_10);
x_11 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(x_2, x_3, x_4, x_5, x_6);
lean_dec_ref(x_5);
return x_11;
}
else
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; 
x_12 = lean_ctor_get(x_5, 0);
x_13 = lean_ctor_get(x_5, 1);
x_14 = lean_ctor_get(x_5, 2);
x_15 = lean_ctor_get(x_5, 3);
x_16 = lean_ctor_get(x_5, 4);
x_17 = lean_ctor_get(x_5, 5);
x_18 = lean_ctor_get(x_5, 6);
x_19 = lean_ctor_get(x_5, 7);
x_20 = lean_ctor_get(x_5, 8);
x_21 = lean_ctor_get(x_5, 9);
x_22 = lean_ctor_get(x_5, 10);
x_23 = lean_ctor_get(x_5, 11);
x_24 = lean_ctor_get_uint8(x_5, sizeof(void*)*14);
x_25 = lean_ctor_get(x_5, 12);
x_26 = lean_ctor_get_uint8(x_5, sizeof(void*)*14 + 1);
x_27 = lean_ctor_get(x_5, 13);
lean_inc(x_27);
lean_inc(x_25);
lean_inc(x_23);
lean_inc(x_22);
lean_inc(x_21);
lean_inc(x_20);
lean_inc(x_19);
lean_inc(x_18);
lean_inc(x_17);
lean_inc(x_16);
lean_inc(x_15);
lean_inc(x_14);
lean_inc(x_13);
lean_inc(x_12);
lean_dec(x_5);
x_28 = l_Lean_replaceRef(x_1, x_17);
lean_dec(x_17);
x_29 = lean_alloc_ctor(0, 14, 2);
lean_ctor_set(x_29, 0, x_12);
lean_ctor_set(x_29, 1, x_13);
lean_ctor_set(x_29, 2, x_14);
lean_ctor_set(x_29, 3, x_15);
lean_ctor_set(x_29, 4, x_16);
lean_ctor_set(x_29, 5, x_28);
lean_ctor_set(x_29, 6, x_18);
lean_ctor_set(x_29, 7, x_19);
lean_ctor_set(x_29, 8, x_20);
lean_ctor_set(x_29, 9, x_21);
lean_ctor_set(x_29, 10, x_22);
lean_ctor_set(x_29, 11, x_23);
lean_ctor_set(x_29, 12, x_25);
lean_ctor_set(x_29, 13, x_27);
lean_ctor_set_uint8(x_29, sizeof(void*)*14, x_24);
lean_ctor_set_uint8(x_29, sizeof(void*)*14 + 1, x_26);
x_30 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(x_2, x_3, x_4, x_29, x_6);
lean_dec_ref(x_29);
return x_30;
}
}
}
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_9; 
x_9 = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2___redArg(x_2, x_3, x_4, x_5, x_6, x_7);
return x_9;
}
}
static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Unknown constant `", 18, 18);
return x_1;
}
}
static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__0;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("`", 1, 1);
return x_1;
}
}
static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__2;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_unknownIdentifierMessageTag;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; uint8_t x_9; 
x_8 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_6);
x_9 = !lean_is_exclusive(x_8);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_10 = lean_ctor_get(x_8, 0);
x_11 = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0___closed__0;
x_12 = lean_alloc_ctor(8, 2, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_10);
lean_ctor_set(x_8, 0, x_12);
return x_8;
}
else
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 
x_13 = lean_ctor_get(x_8, 0);
lean_inc(x_13);
lean_dec(x_8);
x_14 = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0___closed__0;
x_15 = lean_alloc_ctor(8, 2, 0);
lean_ctor_set(x_15, 0, x_14);
lean_ctor_set(x_15, 1, x_13);
x_16 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_16, 0, x_15);
return x_16;
}
}
}
LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_9 = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0(x_2, x_3, x_4, x_5, x_6, x_7);
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
lean_dec_ref(x_9);
x_11 = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2___redArg(x_1, x_10, x_4, x_5, x_6, x_7);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_8 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__1;
x_9 = 0;
lean_inc(x_2);
x_10 = l_Lean_MessageData_ofConstName(x_2, x_9);
x_11 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_11, 0, x_8);
lean_ctor_set(x_11, 1, x_10);
x_12 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__3;
x_13 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_13, 0, x_11);
lean_ctor_set(x_13, 1, x_12);
x_14 = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_13, x_2, x_3, x_4, x_5, x_6);
return x_14;
}
}
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; lean_object* x_8; 
x_7 = lean_ctor_get(x_4, 5);
lean_inc(x_7);
x_8 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg(x_7, x_1, x_2, x_3, x_4, x_5);
lean_dec(x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_9; 
x_9 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_10; 
x_10 = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_7; lean_object* x_8; 
x_7 = 0;
x_8 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg(x_1, x_7, x_3, x_5);
return x_8;
}
}
static lean_object* _init_l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__10___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_instInhabitedMetaM___lam__0___boxed), 5, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_7 = l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__10___closed__0;
x_8 = lean_panic_fn(x_7, x_1);
x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, lean_box(0));
return x_9;
}
}
LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__9(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_3; 
x_3 = l_List_reverse___redArg(x_2);
return x_3;
}
else
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_1);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_1, 0);
x_6 = lean_ctor_get(x_1, 1);
x_7 = l_Lean_Level_param___override(x_5);
lean_ctor_set(x_1, 1, x_2);
lean_ctor_set(x_1, 0, x_7);
{
lean_object* _tmp_0 = x_6;
lean_object* _tmp_1 = x_1;
x_1 = _tmp_0;
x_2 = _tmp_1;
}
goto _start;
}
else
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_9 = lean_ctor_get(x_1, 0);
x_10 = lean_ctor_get(x_1, 1);
lean_inc(x_10);
lean_inc(x_9);
lean_dec(x_1);
x_11 = l_Lean_Level_param___override(x_9);
x_12 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_2);
x_1 = x_10;
x_2 = x_12;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; 
x_7 = lean_st_ref_get(x_5);
x_8 = lean_ctor_get(x_7, 0);
lean_inc_ref(x_8);
lean_dec(x_7);
x_9 = 0;
lean_inc(x_1);
x_10 = l_Lean_Environment_find_x3f(x_8, x_1, x_9);
if (lean_obj_tag(x_10) == 0)
{
lean_object* x_11; 
x_11 = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5);
return x_11;
}
else
{
uint8_t x_12; 
lean_dec_ref(x_4);
lean_dec(x_1);
x_12 = !lean_is_exclusive(x_10);
if (x_12 == 0)
{
lean_ctor_set_tag(x_10, 0);
return x_10;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_ctor_get(x_10, 0);
lean_inc(x_13);
lean_dec(x_10);
x_14 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_14, 0, x_13);
return x_14;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
uint8_t x_12; 
x_12 = lean_usize_dec_lt(x_5, x_4);
if (x_12 == 0)
{
lean_object* x_13; 
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec_ref(x_2);
lean_dec(x_1);
x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_6);
return x_13;
}
else
{
lean_object* x_14; lean_object* x_15; 
x_14 = lean_array_uget(x_3, x_5);
lean_inc(x_10);
lean_inc_ref(x_9);
lean_inc(x_8);
lean_inc_ref(x_7);
x_15 = lean_infer_type(x_14, x_7, x_8, x_9, x_10);
if (lean_obj_tag(x_15) == 0)
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_ctor_get(x_15, 0);
lean_inc(x_16);
lean_dec_ref(x_15);
lean_inc(x_10);
lean_inc_ref(x_9);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc_ref(x_2);
lean_inc(x_1);
x_17 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise(x_1, x_2, x_16, x_7, x_8, x_9, x_10);
if (lean_obj_tag(x_17) == 0)
{
lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; 
x_18 = lean_ctor_get(x_17, 0);
lean_inc(x_18);
lean_dec_ref(x_17);
x_19 = l_Lean_Expr_app___override(x_6, x_18);
x_20 = 1;
x_21 = lean_usize_add(x_5, x_20);
x_5 = x_21;
x_6 = x_19;
goto _start;
}
else
{
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec_ref(x_6);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_17;
}
}
else
{
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec_ref(x_6);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_15;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__11___lam__0(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; 
x_10 = l_Lean_Expr_sort___override(x_1);
x_11 = 0;
x_12 = 1;
x_13 = l_Lean_Meta_mkLambdaFVars(x_3, x_10, x_11, x_2, x_11, x_2, x_12, x_5, x_6, x_7, x_8);
return x_13;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__11___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
uint8_t x_10; lean_object* x_11; 
x_10 = lean_unbox(x_2);
x_11 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__11___lam__0(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_4);
lean_dec_ref(x_3);
return x_11;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__11(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
uint8_t x_11; 
x_11 = lean_usize_dec_lt(x_4, x_3);
if (x_11 == 0)
{
lean_object* x_12; 
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec(x_1);
x_12 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_12, 0, x_5);
return x_12;
}
else
{
lean_object* x_13; lean_object* x_14; 
x_13 = lean_array_uget(x_2, x_4);
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_6);
x_14 = lean_infer_type(x_13, x_6, x_7, x_8, x_9);
if (lean_obj_tag(x_14) == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; 
x_15 = lean_ctor_get(x_14, 0);
lean_inc(x_15);
lean_dec_ref(x_14);
x_16 = lean_box(x_11);
lean_inc(x_1);
x_17 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__11___lam__0___boxed), 9, 2);
lean_closure_set(x_17, 0, x_1);
lean_closure_set(x_17, 1, x_16);
x_18 = 0;
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_6);
x_19 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_15, x_17, x_18, x_6, x_7, x_8, x_9);
if (lean_obj_tag(x_19) == 0)
{
lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; 
x_20 = lean_ctor_get(x_19, 0);
lean_inc(x_20);
lean_dec_ref(x_19);
x_21 = l_Lean_Expr_app___override(x_5, x_20);
x_22 = 1;
x_23 = lean_usize_add(x_4, x_22);
x_4 = x_23;
x_5 = x_21;
goto _start;
}
else
{
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec_ref(x_5);
lean_dec(x_1);
return x_19;
}
}
else
{
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec_ref(x_5);
lean_dec(x_1);
return x_14;
}
}
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean.Meta.Constructions.BRecOn", 30, 30);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_private.Lean.Meta.Constructions.BRecOn.0.Lean.mkBelowFromRec", 61, 61);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("assertion violation: refArgs.size > nParams + recVal.numMotives + recVal.numMinors\n    ", 87, 87);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__2;
x_2 = lean_unsigned_to_nat(4u);
x_3 = lean_unsigned_to_nat(69u);
x_4 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__1;
x_5 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__0;
x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1);
return x_6;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("type of type of major premise ", 30, 30);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__4;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" not a type former", 18, 18);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__6;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) {
_start:
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; 
x_16 = lean_nat_add(x_1, x_2);
x_17 = lean_nat_add(x_16, x_3);
x_18 = lean_array_get_size(x_9);
x_19 = lean_nat_dec_lt(x_17, x_18);
if (x_19 == 0)
{
lean_object* x_20; lean_object* x_21; 
lean_dec(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_1);
x_20 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__3;
x_21 = l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__10(x_20, x_11, x_12, x_13, x_14);
return x_21;
}
else
{
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
x_22 = lean_unsigned_to_nat(1u);
x_23 = lean_nat_sub(x_18, x_22);
lean_dec(x_18);
x_24 = l_Lean_instInhabitedExpr;
x_25 = lean_array_get(x_24, x_9, x_23);
lean_inc(x_14);
lean_inc_ref(x_13);
lean_inc(x_12);
lean_inc_ref(x_11);
lean_inc(x_25);
x_26 = lean_infer_type(x_25, x_11, x_12, x_13, x_14);
if (lean_obj_tag(x_26) == 0)
{
lean_object* x_27; lean_object* x_28; 
x_27 = lean_ctor_get(x_26, 0);
lean_inc(x_27);
lean_dec_ref(x_26);
lean_inc(x_14);
lean_inc_ref(x_13);
lean_inc(x_12);
lean_inc_ref(x_11);
x_28 = lean_infer_type(x_27, x_11, x_12, x_13, x_14);
if (lean_obj_tag(x_28) == 0)
{
lean_object* x_29; lean_object* x_30; 
x_29 = lean_ctor_get(x_28, 0);
lean_inc(x_29);
lean_dec_ref(x_28);
lean_inc(x_14);
lean_inc_ref(x_13);
lean_inc(x_12);
lean_inc_ref(x_11);
x_30 = l_Lean_Meta_typeFormerTypeLevel(x_29, x_11, x_12, x_13, x_14);
if (lean_obj_tag(x_30) == 0)
{
lean_object* x_31; 
x_31 = lean_ctor_get(x_30, 0);
lean_inc(x_31);
lean_dec_ref(x_30);
if (lean_obj_tag(x_31) == 1)
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; size_t x_43; size_t x_44; lean_object* x_45; 
x_32 = lean_ctor_get(x_31, 0);
lean_inc(x_32);
lean_dec_ref(x_31);
x_33 = lean_unsigned_to_nat(0u);
lean_inc(x_1);
lean_inc_ref(x_9);
x_34 = l_Array_toSubarray___redArg(x_9, x_33, x_1);
x_35 = l_Array_ofSubarray___redArg(x_34);
lean_inc(x_16);
lean_inc_ref(x_9);
x_36 = l_Array_toSubarray___redArg(x_9, x_1, x_16);
x_37 = l_Array_ofSubarray___redArg(x_36);
x_38 = l_Lean_mkLevelMax(x_32, x_4);
lean_inc(x_38);
x_39 = l_Lean_Level_succ___override(x_38);
x_40 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_40, 0, x_39);
lean_ctor_set(x_40, 1, x_5);
x_41 = l_Lean_Expr_const___override(x_6, x_40);
x_42 = l_Lean_mkAppN(x_41, x_35);
x_43 = lean_array_size(x_37);
x_44 = 0;
lean_inc(x_14);
lean_inc_ref(x_13);
lean_inc(x_12);
lean_inc_ref(x_11);
lean_inc(x_38);
x_45 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__11(x_38, x_37, x_43, x_44, x_42, x_11, x_12, x_13, x_14);
if (lean_obj_tag(x_45) == 0)
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; size_t x_49; lean_object* x_50; 
x_46 = lean_ctor_get(x_45, 0);
lean_inc(x_46);
lean_dec_ref(x_45);
lean_inc(x_17);
lean_inc_ref(x_9);
x_47 = l_Array_toSubarray___redArg(x_9, x_16, x_17);
x_48 = l_Array_ofSubarray___redArg(x_47);
x_49 = lean_array_size(x_48);
lean_inc(x_14);
lean_inc_ref(x_13);
lean_inc(x_12);
lean_inc_ref(x_11);
lean_inc_ref(x_37);
lean_inc(x_38);
x_50 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__12(x_38, x_37, x_48, x_49, x_44, x_46, x_11, x_12, x_13, x_14);
lean_dec_ref(x_48);
if (lean_obj_tag(x_50) == 0)
{
lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; uint8_t x_61; lean_object* x_62; 
x_51 = lean_ctor_get(x_50, 0);
lean_inc(x_51);
lean_dec_ref(x_50);
x_52 = l_Array_toSubarray___redArg(x_9, x_17, x_23);
x_53 = l_Array_ofSubarray___redArg(x_52);
x_54 = l_Array_append___redArg(x_35, x_37);
lean_dec_ref(x_37);
x_55 = l_Array_append___redArg(x_54, x_53);
x_56 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__1___closed__0;
lean_inc(x_25);
x_57 = lean_array_push(x_56, x_25);
x_58 = l_Array_append___redArg(x_55, x_57);
lean_dec_ref(x_57);
x_59 = l_Lean_Expr_sort___override(x_38);
x_60 = 0;
x_61 = 1;
x_62 = l_Lean_Meta_mkForallFVars(x_58, x_59, x_60, x_19, x_19, x_61, x_11, x_12, x_13, x_14);
if (lean_obj_tag(x_62) == 0)
{
lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; 
x_63 = lean_ctor_get(x_62, 0);
lean_inc(x_63);
lean_dec_ref(x_62);
x_64 = l_Lean_mkAppN(x_51, x_53);
lean_dec_ref(x_53);
x_65 = l_Lean_Expr_app___override(x_64, x_25);
x_66 = l_Lean_Meta_mkLambdaFVars(x_58, x_65, x_60, x_19, x_60, x_19, x_61, x_11, x_12, x_13, x_14);
lean_dec_ref(x_13);
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec_ref(x_58);
if (lean_obj_tag(x_66) == 0)
{
lean_object* x_67; lean_object* x_68; lean_object* x_69; 
x_67 = lean_ctor_get(x_66, 0);
lean_inc(x_67);
lean_dec_ref(x_66);
x_68 = lean_box(1);
x_69 = l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13___redArg(x_7, x_8, x_63, x_67, x_68, x_14);
lean_dec(x_14);
return x_69;
}
else
{
uint8_t x_70; 
lean_dec(x_63);
lean_dec(x_14);
lean_dec(x_8);
lean_dec(x_7);
x_70 = !lean_is_exclusive(x_66);
if (x_70 == 0)
{
return x_66;
}
else
{
lean_object* x_71; lean_object* x_72; 
x_71 = lean_ctor_get(x_66, 0);
lean_inc(x_71);
lean_dec(x_66);
x_72 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_72, 0, x_71);
return x_72;
}
}
}
else
{
uint8_t x_73; 
lean_dec_ref(x_58);
lean_dec_ref(x_53);
lean_dec(x_51);
lean_dec(x_25);
lean_dec(x_14);
lean_dec_ref(x_13);
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec(x_8);
lean_dec(x_7);
x_73 = !lean_is_exclusive(x_62);
if (x_73 == 0)
{
return x_62;
}
else
{
lean_object* x_74; lean_object* x_75; 
x_74 = lean_ctor_get(x_62, 0);
lean_inc(x_74);
lean_dec(x_62);
x_75 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_75, 0, x_74);
return x_75;
}
}
}
else
{
uint8_t x_76; 
lean_dec(x_38);
lean_dec_ref(x_37);
lean_dec_ref(x_35);
lean_dec(x_25);
lean_dec(x_23);
lean_dec(x_17);
lean_dec(x_14);
lean_dec_ref(x_13);
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec(x_7);
x_76 = !lean_is_exclusive(x_50);
if (x_76 == 0)
{
return x_50;
}
else
{
lean_object* x_77; lean_object* x_78; 
x_77 = lean_ctor_get(x_50, 0);
lean_inc(x_77);
lean_dec(x_50);
x_78 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_78, 0, x_77);
return x_78;
}
}
}
else
{
uint8_t x_79; 
lean_dec(x_38);
lean_dec_ref(x_37);
lean_dec_ref(x_35);
lean_dec(x_25);
lean_dec(x_23);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_14);
lean_dec_ref(x_13);
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec(x_7);
x_79 = !lean_is_exclusive(x_45);
if (x_79 == 0)
{
return x_45;
}
else
{
lean_object* x_80; lean_object* x_81; 
x_80 = lean_ctor_get(x_45, 0);
lean_inc(x_80);
lean_dec(x_45);
x_81 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_81, 0, x_80);
return x_81;
}
}
}
else
{
lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; 
lean_dec(x_31);
lean_dec(x_23);
lean_dec(x_17);
lean_dec(x_16);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_1);
x_82 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__5;
x_83 = l_Lean_MessageData_ofExpr(x_25);
x_84 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_84, 0, x_82);
lean_ctor_set(x_84, 1, x_83);
x_85 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__7;
x_86 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_86, 0, x_84);
lean_ctor_set(x_86, 1, x_85);
x_87 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(x_86, x_11, x_12, x_13, x_14);
lean_dec(x_14);
lean_dec_ref(x_13);
lean_dec(x_12);
lean_dec_ref(x_11);
return x_87;
}
}
else
{
uint8_t x_88; 
lean_dec(x_25);
lean_dec(x_23);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_14);
lean_dec_ref(x_13);
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_1);
x_88 = !lean_is_exclusive(x_30);
if (x_88 == 0)
{
return x_30;
}
else
{
lean_object* x_89; lean_object* x_90; 
x_89 = lean_ctor_get(x_30, 0);
lean_inc(x_89);
lean_dec(x_30);
x_90 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_90, 0, x_89);
return x_90;
}
}
}
else
{
uint8_t x_91; 
lean_dec(x_25);
lean_dec(x_23);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_14);
lean_dec_ref(x_13);
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_1);
x_91 = !lean_is_exclusive(x_28);
if (x_91 == 0)
{
return x_28;
}
else
{
lean_object* x_92; lean_object* x_93; 
x_92 = lean_ctor_get(x_28, 0);
lean_inc(x_92);
lean_dec(x_28);
x_93 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_93, 0, x_92);
return x_93;
}
}
}
else
{
uint8_t x_94; 
lean_dec(x_25);
lean_dec(x_23);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_14);
lean_dec_ref(x_13);
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_1);
x_94 = !lean_is_exclusive(x_26);
if (x_94 == 0)
{
return x_26;
}
else
{
lean_object* x_95; lean_object* x_96; 
x_95 = lean_ctor_get(x_26, 0);
lean_inc(x_95);
lean_dec(x_26);
x_96 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_96, 0, x_95);
return x_96;
}
}
}
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("recursor ", 9, 9);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__0;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" has no levelParams", 19, 19);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__2;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" not a .recInfo", 15, 15);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__4;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
lean_object* x_16; 
x_16 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14);
lean_dec_ref(x_10);
lean_dec(x_3);
lean_dec(x_2);
return x_16;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_9; 
lean_inc_ref(x_6);
lean_inc(x_1);
x_9 = l_Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0(x_1, x_4, x_5, x_6, x_7);
if (lean_obj_tag(x_9) == 0)
{
lean_object* x_10; 
x_10 = lean_ctor_get(x_9, 0);
lean_inc(x_10);
lean_dec_ref(x_9);
if (lean_obj_tag(x_10) == 7)
{
uint8_t x_11; 
x_11 = !lean_is_exclusive(x_10);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_12 = lean_ctor_get(x_10, 0);
x_13 = lean_ctor_get(x_12, 0);
lean_inc_ref(x_13);
x_14 = lean_ctor_get(x_12, 4);
lean_inc(x_14);
x_15 = lean_ctor_get(x_12, 5);
lean_inc(x_15);
lean_dec_ref(x_12);
x_16 = lean_ctor_get(x_13, 1);
lean_inc(x_16);
x_17 = lean_ctor_get(x_13, 2);
lean_inc_ref(x_17);
lean_dec_ref(x_13);
x_18 = lean_box(0);
lean_inc(x_16);
x_19 = l_List_mapTR_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__9(x_16, x_18);
if (lean_obj_tag(x_19) == 1)
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; 
x_20 = lean_ctor_get(x_19, 0);
lean_inc(x_20);
x_21 = lean_ctor_get(x_19, 1);
lean_inc(x_21);
lean_dec_ref(x_19);
x_22 = lean_alloc_closure((void*)(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___boxed), 15, 8);
lean_closure_set(x_22, 0, x_2);
lean_closure_set(x_22, 1, x_14);
lean_closure_set(x_22, 2, x_15);
lean_closure_set(x_22, 3, x_20);
lean_closure_set(x_22, 4, x_21);
lean_closure_set(x_22, 5, x_1);
lean_closure_set(x_22, 6, x_3);
lean_closure_set(x_22, 7, x_16);
x_23 = 0;
lean_inc(x_7);
lean_inc_ref(x_6);
lean_inc(x_5);
lean_inc_ref(x_4);
x_24 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_17, x_22, x_23, x_4, x_5, x_6, x_7);
if (lean_obj_tag(x_24) == 0)
{
lean_object* x_25; lean_object* x_26; 
x_25 = lean_ctor_get(x_24, 0);
lean_inc(x_25);
lean_dec_ref(x_24);
lean_inc(x_25);
lean_ctor_set_tag(x_10, 1);
lean_ctor_set(x_10, 0, x_25);
lean_inc(x_7);
lean_inc_ref(x_6);
x_26 = l_Lean_addDecl(x_10, x_23, x_6, x_7);
if (lean_obj_tag(x_26) == 0)
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; 
lean_dec_ref(x_26);
x_27 = lean_ctor_get(x_25, 0);
lean_inc_ref(x_27);
lean_dec(x_25);
x_28 = lean_ctor_get(x_27, 0);
lean_inc(x_28);
lean_dec_ref(x_27);
lean_inc(x_28);
x_29 = l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14(x_28, x_4, x_5, x_6, x_7);
lean_dec_ref(x_6);
lean_dec_ref(x_4);
x_30 = !lean_is_exclusive(x_29);
if (x_30 == 0)
{
lean_object* x_31; lean_object* x_32; uint8_t x_33; 
x_31 = lean_ctor_get(x_29, 0);
lean_dec(x_31);
x_32 = lean_st_ref_take(x_7);
x_33 = !lean_is_exclusive(x_32);
if (x_33 == 0)
{
lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; 
x_34 = lean_ctor_get(x_32, 0);
x_35 = lean_ctor_get(x_32, 5);
lean_dec(x_35);
lean_inc(x_28);
x_36 = l_Lean_markAuxRecursor(x_34, x_28);
x_37 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__2;
lean_ctor_set(x_32, 5, x_37);
lean_ctor_set(x_32, 0, x_36);
x_38 = lean_st_ref_set(x_7, x_32);
x_39 = lean_st_ref_take(x_5);
x_40 = !lean_is_exclusive(x_39);
if (x_40 == 0)
{
lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; 
x_41 = lean_ctor_get(x_39, 1);
lean_dec(x_41);
x_42 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3;
lean_ctor_set(x_39, 1, x_42);
x_43 = lean_st_ref_set(x_5, x_39);
x_44 = lean_st_ref_take(x_7);
x_45 = !lean_is_exclusive(x_44);
if (x_45 == 0)
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; 
x_46 = lean_ctor_get(x_44, 0);
x_47 = lean_ctor_get(x_44, 5);
lean_dec(x_47);
x_48 = l_Lean_addProtected(x_46, x_28);
lean_ctor_set(x_44, 5, x_37);
lean_ctor_set(x_44, 0, x_48);
x_49 = lean_st_ref_set(x_7, x_44);
lean_dec(x_7);
x_50 = lean_st_ref_take(x_5);
x_51 = !lean_is_exclusive(x_50);
if (x_51 == 0)
{
lean_object* x_52; lean_object* x_53; lean_object* x_54; 
x_52 = lean_ctor_get(x_50, 1);
lean_dec(x_52);
lean_ctor_set(x_50, 1, x_42);
x_53 = lean_st_ref_set(x_5, x_50);
lean_dec(x_5);
x_54 = lean_box(0);
lean_ctor_set(x_29, 0, x_54);
return x_29;
}
else
{
lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; 
x_55 = lean_ctor_get(x_50, 0);
x_56 = lean_ctor_get(x_50, 2);
x_57 = lean_ctor_get(x_50, 3);
x_58 = lean_ctor_get(x_50, 4);
lean_inc(x_58);
lean_inc(x_57);
lean_inc(x_56);
lean_inc(x_55);
lean_dec(x_50);
x_59 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_59, 0, x_55);
lean_ctor_set(x_59, 1, x_42);
lean_ctor_set(x_59, 2, x_56);
lean_ctor_set(x_59, 3, x_57);
lean_ctor_set(x_59, 4, x_58);
x_60 = lean_st_ref_set(x_5, x_59);
lean_dec(x_5);
x_61 = lean_box(0);
lean_ctor_set(x_29, 0, x_61);
return x_29;
}
}
else
{
lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; 
x_62 = lean_ctor_get(x_44, 0);
x_63 = lean_ctor_get(x_44, 1);
x_64 = lean_ctor_get(x_44, 2);
x_65 = lean_ctor_get(x_44, 3);
x_66 = lean_ctor_get(x_44, 4);
x_67 = lean_ctor_get(x_44, 6);
x_68 = lean_ctor_get(x_44, 7);
x_69 = lean_ctor_get(x_44, 8);
lean_inc(x_69);
lean_inc(x_68);
lean_inc(x_67);
lean_inc(x_66);
lean_inc(x_65);
lean_inc(x_64);
lean_inc(x_63);
lean_inc(x_62);
lean_dec(x_44);
x_70 = l_Lean_addProtected(x_62, x_28);
x_71 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_71, 0, x_70);
lean_ctor_set(x_71, 1, x_63);
lean_ctor_set(x_71, 2, x_64);
lean_ctor_set(x_71, 3, x_65);
lean_ctor_set(x_71, 4, x_66);
lean_ctor_set(x_71, 5, x_37);
lean_ctor_set(x_71, 6, x_67);
lean_ctor_set(x_71, 7, x_68);
lean_ctor_set(x_71, 8, x_69);
x_72 = lean_st_ref_set(x_7, x_71);
lean_dec(x_7);
x_73 = lean_st_ref_take(x_5);
x_74 = lean_ctor_get(x_73, 0);
lean_inc_ref(x_74);
x_75 = lean_ctor_get(x_73, 2);
lean_inc(x_75);
x_76 = lean_ctor_get(x_73, 3);
lean_inc_ref(x_76);
x_77 = lean_ctor_get(x_73, 4);
lean_inc_ref(x_77);
if (lean_is_exclusive(x_73)) {
 lean_ctor_release(x_73, 0);
 lean_ctor_release(x_73, 1);
 lean_ctor_release(x_73, 2);
 lean_ctor_release(x_73, 3);
 lean_ctor_release(x_73, 4);
 x_78 = x_73;
} else {
 lean_dec_ref(x_73);
 x_78 = lean_box(0);
}
if (lean_is_scalar(x_78)) {
 x_79 = lean_alloc_ctor(0, 5, 0);
} else {
 x_79 = x_78;
}
lean_ctor_set(x_79, 0, x_74);
lean_ctor_set(x_79, 1, x_42);
lean_ctor_set(x_79, 2, x_75);
lean_ctor_set(x_79, 3, x_76);
lean_ctor_set(x_79, 4, x_77);
x_80 = lean_st_ref_set(x_5, x_79);
lean_dec(x_5);
x_81 = lean_box(0);
lean_ctor_set(x_29, 0, x_81);
return x_29;
}
}
else
{
lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; 
x_82 = lean_ctor_get(x_39, 0);
x_83 = lean_ctor_get(x_39, 2);
x_84 = lean_ctor_get(x_39, 3);
x_85 = lean_ctor_get(x_39, 4);
lean_inc(x_85);
lean_inc(x_84);
lean_inc(x_83);
lean_inc(x_82);
lean_dec(x_39);
x_86 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3;
x_87 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_87, 0, x_82);
lean_ctor_set(x_87, 1, x_86);
lean_ctor_set(x_87, 2, x_83);
lean_ctor_set(x_87, 3, x_84);
lean_ctor_set(x_87, 4, x_85);
x_88 = lean_st_ref_set(x_5, x_87);
x_89 = lean_st_ref_take(x_7);
x_90 = lean_ctor_get(x_89, 0);
lean_inc_ref(x_90);
x_91 = lean_ctor_get(x_89, 1);
lean_inc(x_91);
x_92 = lean_ctor_get(x_89, 2);
lean_inc_ref(x_92);
x_93 = lean_ctor_get(x_89, 3);
lean_inc_ref(x_93);
x_94 = lean_ctor_get(x_89, 4);
lean_inc_ref(x_94);
x_95 = lean_ctor_get(x_89, 6);
lean_inc_ref(x_95);
x_96 = lean_ctor_get(x_89, 7);
lean_inc_ref(x_96);
x_97 = lean_ctor_get(x_89, 8);
lean_inc_ref(x_97);
if (lean_is_exclusive(x_89)) {
 lean_ctor_release(x_89, 0);
 lean_ctor_release(x_89, 1);
 lean_ctor_release(x_89, 2);
 lean_ctor_release(x_89, 3);
 lean_ctor_release(x_89, 4);
 lean_ctor_release(x_89, 5);
 lean_ctor_release(x_89, 6);
 lean_ctor_release(x_89, 7);
 lean_ctor_release(x_89, 8);
 x_98 = x_89;
} else {
 lean_dec_ref(x_89);
 x_98 = lean_box(0);
}
x_99 = l_Lean_addProtected(x_90, x_28);
if (lean_is_scalar(x_98)) {
 x_100 = lean_alloc_ctor(0, 9, 0);
} else {
 x_100 = x_98;
}
lean_ctor_set(x_100, 0, x_99);
lean_ctor_set(x_100, 1, x_91);
lean_ctor_set(x_100, 2, x_92);
lean_ctor_set(x_100, 3, x_93);
lean_ctor_set(x_100, 4, x_94);
lean_ctor_set(x_100, 5, x_37);
lean_ctor_set(x_100, 6, x_95);
lean_ctor_set(x_100, 7, x_96);
lean_ctor_set(x_100, 8, x_97);
x_101 = lean_st_ref_set(x_7, x_100);
lean_dec(x_7);
x_102 = lean_st_ref_take(x_5);
x_103 = lean_ctor_get(x_102, 0);
lean_inc_ref(x_103);
x_104 = lean_ctor_get(x_102, 2);
lean_inc(x_104);
x_105 = lean_ctor_get(x_102, 3);
lean_inc_ref(x_105);
x_106 = lean_ctor_get(x_102, 4);
lean_inc_ref(x_106);
if (lean_is_exclusive(x_102)) {
 lean_ctor_release(x_102, 0);
 lean_ctor_release(x_102, 1);
 lean_ctor_release(x_102, 2);
 lean_ctor_release(x_102, 3);
 lean_ctor_release(x_102, 4);
 x_107 = x_102;
} else {
 lean_dec_ref(x_102);
 x_107 = lean_box(0);
}
if (lean_is_scalar(x_107)) {
 x_108 = lean_alloc_ctor(0, 5, 0);
} else {
 x_108 = x_107;
}
lean_ctor_set(x_108, 0, x_103);
lean_ctor_set(x_108, 1, x_86);
lean_ctor_set(x_108, 2, x_104);
lean_ctor_set(x_108, 3, x_105);
lean_ctor_set(x_108, 4, x_106);
x_109 = lean_st_ref_set(x_5, x_108);
lean_dec(x_5);
x_110 = lean_box(0);
lean_ctor_set(x_29, 0, x_110);
return x_29;
}
}
else
{
lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; 
x_111 = lean_ctor_get(x_32, 0);
x_112 = lean_ctor_get(x_32, 1);
x_113 = lean_ctor_get(x_32, 2);
x_114 = lean_ctor_get(x_32, 3);
x_115 = lean_ctor_get(x_32, 4);
x_116 = lean_ctor_get(x_32, 6);
x_117 = lean_ctor_get(x_32, 7);
x_118 = lean_ctor_get(x_32, 8);
lean_inc(x_118);
lean_inc(x_117);
lean_inc(x_116);
lean_inc(x_115);
lean_inc(x_114);
lean_inc(x_113);
lean_inc(x_112);
lean_inc(x_111);
lean_dec(x_32);
lean_inc(x_28);
x_119 = l_Lean_markAuxRecursor(x_111, x_28);
x_120 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__2;
x_121 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_121, 0, x_119);
lean_ctor_set(x_121, 1, x_112);
lean_ctor_set(x_121, 2, x_113);
lean_ctor_set(x_121, 3, x_114);
lean_ctor_set(x_121, 4, x_115);
lean_ctor_set(x_121, 5, x_120);
lean_ctor_set(x_121, 6, x_116);
lean_ctor_set(x_121, 7, x_117);
lean_ctor_set(x_121, 8, x_118);
x_122 = lean_st_ref_set(x_7, x_121);
x_123 = lean_st_ref_take(x_5);
x_124 = lean_ctor_get(x_123, 0);
lean_inc_ref(x_124);
x_125 = lean_ctor_get(x_123, 2);
lean_inc(x_125);
x_126 = lean_ctor_get(x_123, 3);
lean_inc_ref(x_126);
x_127 = lean_ctor_get(x_123, 4);
lean_inc_ref(x_127);
if (lean_is_exclusive(x_123)) {
 lean_ctor_release(x_123, 0);
 lean_ctor_release(x_123, 1);
 lean_ctor_release(x_123, 2);
 lean_ctor_release(x_123, 3);
 lean_ctor_release(x_123, 4);
 x_128 = x_123;
} else {
 lean_dec_ref(x_123);
 x_128 = lean_box(0);
}
x_129 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3;
if (lean_is_scalar(x_128)) {
 x_130 = lean_alloc_ctor(0, 5, 0);
} else {
 x_130 = x_128;
}
lean_ctor_set(x_130, 0, x_124);
lean_ctor_set(x_130, 1, x_129);
lean_ctor_set(x_130, 2, x_125);
lean_ctor_set(x_130, 3, x_126);
lean_ctor_set(x_130, 4, x_127);
x_131 = lean_st_ref_set(x_5, x_130);
x_132 = lean_st_ref_take(x_7);
x_133 = lean_ctor_get(x_132, 0);
lean_inc_ref(x_133);
x_134 = lean_ctor_get(x_132, 1);
lean_inc(x_134);
x_135 = lean_ctor_get(x_132, 2);
lean_inc_ref(x_135);
x_136 = lean_ctor_get(x_132, 3);
lean_inc_ref(x_136);
x_137 = lean_ctor_get(x_132, 4);
lean_inc_ref(x_137);
x_138 = lean_ctor_get(x_132, 6);
lean_inc_ref(x_138);
x_139 = lean_ctor_get(x_132, 7);
lean_inc_ref(x_139);
x_140 = lean_ctor_get(x_132, 8);
lean_inc_ref(x_140);
if (lean_is_exclusive(x_132)) {
 lean_ctor_release(x_132, 0);
 lean_ctor_release(x_132, 1);
 lean_ctor_release(x_132, 2);
 lean_ctor_release(x_132, 3);
 lean_ctor_release(x_132, 4);
 lean_ctor_release(x_132, 5);
 lean_ctor_release(x_132, 6);
 lean_ctor_release(x_132, 7);
 lean_ctor_release(x_132, 8);
 x_141 = x_132;
} else {
 lean_dec_ref(x_132);
 x_141 = lean_box(0);
}
x_142 = l_Lean_addProtected(x_133, x_28);
if (lean_is_scalar(x_141)) {
 x_143 = lean_alloc_ctor(0, 9, 0);
} else {
 x_143 = x_141;
}
lean_ctor_set(x_143, 0, x_142);
lean_ctor_set(x_143, 1, x_134);
lean_ctor_set(x_143, 2, x_135);
lean_ctor_set(x_143, 3, x_136);
lean_ctor_set(x_143, 4, x_137);
lean_ctor_set(x_143, 5, x_120);
lean_ctor_set(x_143, 6, x_138);
lean_ctor_set(x_143, 7, x_139);
lean_ctor_set(x_143, 8, x_140);
x_144 = lean_st_ref_set(x_7, x_143);
lean_dec(x_7);
x_145 = lean_st_ref_take(x_5);
x_146 = lean_ctor_get(x_145, 0);
lean_inc_ref(x_146);
x_147 = lean_ctor_get(x_145, 2);
lean_inc(x_147);
x_148 = lean_ctor_get(x_145, 3);
lean_inc_ref(x_148);
x_149 = lean_ctor_get(x_145, 4);
lean_inc_ref(x_149);
if (lean_is_exclusive(x_145)) {
 lean_ctor_release(x_145, 0);
 lean_ctor_release(x_145, 1);
 lean_ctor_release(x_145, 2);
 lean_ctor_release(x_145, 3);
 lean_ctor_release(x_145, 4);
 x_150 = x_145;
} else {
 lean_dec_ref(x_145);
 x_150 = lean_box(0);
}
if (lean_is_scalar(x_150)) {
 x_151 = lean_alloc_ctor(0, 5, 0);
} else {
 x_151 = x_150;
}
lean_ctor_set(x_151, 0, x_146);
lean_ctor_set(x_151, 1, x_129);
lean_ctor_set(x_151, 2, x_147);
lean_ctor_set(x_151, 3, x_148);
lean_ctor_set(x_151, 4, x_149);
x_152 = lean_st_ref_set(x_5, x_151);
lean_dec(x_5);
x_153 = lean_box(0);
lean_ctor_set(x_29, 0, x_153);
return x_29;
}
}
else
{
lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; 
lean_dec(x_29);
x_154 = lean_st_ref_take(x_7);
x_155 = lean_ctor_get(x_154, 0);
lean_inc_ref(x_155);
x_156 = lean_ctor_get(x_154, 1);
lean_inc(x_156);
x_157 = lean_ctor_get(x_154, 2);
lean_inc_ref(x_157);
x_158 = lean_ctor_get(x_154, 3);
lean_inc_ref(x_158);
x_159 = lean_ctor_get(x_154, 4);
lean_inc_ref(x_159);
x_160 = lean_ctor_get(x_154, 6);
lean_inc_ref(x_160);
x_161 = lean_ctor_get(x_154, 7);
lean_inc_ref(x_161);
x_162 = lean_ctor_get(x_154, 8);
lean_inc_ref(x_162);
if (lean_is_exclusive(x_154)) {
 lean_ctor_release(x_154, 0);
 lean_ctor_release(x_154, 1);
 lean_ctor_release(x_154, 2);
 lean_ctor_release(x_154, 3);
 lean_ctor_release(x_154, 4);
 lean_ctor_release(x_154, 5);
 lean_ctor_release(x_154, 6);
 lean_ctor_release(x_154, 7);
 lean_ctor_release(x_154, 8);
 x_163 = x_154;
} else {
 lean_dec_ref(x_154);
 x_163 = lean_box(0);
}
lean_inc(x_28);
x_164 = l_Lean_markAuxRecursor(x_155, x_28);
x_165 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__2;
if (lean_is_scalar(x_163)) {
 x_166 = lean_alloc_ctor(0, 9, 0);
} else {
 x_166 = x_163;
}
lean_ctor_set(x_166, 0, x_164);
lean_ctor_set(x_166, 1, x_156);
lean_ctor_set(x_166, 2, x_157);
lean_ctor_set(x_166, 3, x_158);
lean_ctor_set(x_166, 4, x_159);
lean_ctor_set(x_166, 5, x_165);
lean_ctor_set(x_166, 6, x_160);
lean_ctor_set(x_166, 7, x_161);
lean_ctor_set(x_166, 8, x_162);
x_167 = lean_st_ref_set(x_7, x_166);
x_168 = lean_st_ref_take(x_5);
x_169 = lean_ctor_get(x_168, 0);
lean_inc_ref(x_169);
x_170 = lean_ctor_get(x_168, 2);
lean_inc(x_170);
x_171 = lean_ctor_get(x_168, 3);
lean_inc_ref(x_171);
x_172 = lean_ctor_get(x_168, 4);
lean_inc_ref(x_172);
if (lean_is_exclusive(x_168)) {
 lean_ctor_release(x_168, 0);
 lean_ctor_release(x_168, 1);
 lean_ctor_release(x_168, 2);
 lean_ctor_release(x_168, 3);
 lean_ctor_release(x_168, 4);
 x_173 = x_168;
} else {
 lean_dec_ref(x_168);
 x_173 = lean_box(0);
}
x_174 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3;
if (lean_is_scalar(x_173)) {
 x_175 = lean_alloc_ctor(0, 5, 0);
} else {
 x_175 = x_173;
}
lean_ctor_set(x_175, 0, x_169);
lean_ctor_set(x_175, 1, x_174);
lean_ctor_set(x_175, 2, x_170);
lean_ctor_set(x_175, 3, x_171);
lean_ctor_set(x_175, 4, x_172);
x_176 = lean_st_ref_set(x_5, x_175);
x_177 = lean_st_ref_take(x_7);
x_178 = lean_ctor_get(x_177, 0);
lean_inc_ref(x_178);
x_179 = lean_ctor_get(x_177, 1);
lean_inc(x_179);
x_180 = lean_ctor_get(x_177, 2);
lean_inc_ref(x_180);
x_181 = lean_ctor_get(x_177, 3);
lean_inc_ref(x_181);
x_182 = lean_ctor_get(x_177, 4);
lean_inc_ref(x_182);
x_183 = lean_ctor_get(x_177, 6);
lean_inc_ref(x_183);
x_184 = lean_ctor_get(x_177, 7);
lean_inc_ref(x_184);
x_185 = lean_ctor_get(x_177, 8);
lean_inc_ref(x_185);
if (lean_is_exclusive(x_177)) {
 lean_ctor_release(x_177, 0);
 lean_ctor_release(x_177, 1);
 lean_ctor_release(x_177, 2);
 lean_ctor_release(x_177, 3);
 lean_ctor_release(x_177, 4);
 lean_ctor_release(x_177, 5);
 lean_ctor_release(x_177, 6);
 lean_ctor_release(x_177, 7);
 lean_ctor_release(x_177, 8);
 x_186 = x_177;
} else {
 lean_dec_ref(x_177);
 x_186 = lean_box(0);
}
x_187 = l_Lean_addProtected(x_178, x_28);
if (lean_is_scalar(x_186)) {
 x_188 = lean_alloc_ctor(0, 9, 0);
} else {
 x_188 = x_186;
}
lean_ctor_set(x_188, 0, x_187);
lean_ctor_set(x_188, 1, x_179);
lean_ctor_set(x_188, 2, x_180);
lean_ctor_set(x_188, 3, x_181);
lean_ctor_set(x_188, 4, x_182);
lean_ctor_set(x_188, 5, x_165);
lean_ctor_set(x_188, 6, x_183);
lean_ctor_set(x_188, 7, x_184);
lean_ctor_set(x_188, 8, x_185);
x_189 = lean_st_ref_set(x_7, x_188);
lean_dec(x_7);
x_190 = lean_st_ref_take(x_5);
x_191 = lean_ctor_get(x_190, 0);
lean_inc_ref(x_191);
x_192 = lean_ctor_get(x_190, 2);
lean_inc(x_192);
x_193 = lean_ctor_get(x_190, 3);
lean_inc_ref(x_193);
x_194 = lean_ctor_get(x_190, 4);
lean_inc_ref(x_194);
if (lean_is_exclusive(x_190)) {
 lean_ctor_release(x_190, 0);
 lean_ctor_release(x_190, 1);
 lean_ctor_release(x_190, 2);
 lean_ctor_release(x_190, 3);
 lean_ctor_release(x_190, 4);
 x_195 = x_190;
} else {
 lean_dec_ref(x_190);
 x_195 = lean_box(0);
}
if (lean_is_scalar(x_195)) {
 x_196 = lean_alloc_ctor(0, 5, 0);
} else {
 x_196 = x_195;
}
lean_ctor_set(x_196, 0, x_191);
lean_ctor_set(x_196, 1, x_174);
lean_ctor_set(x_196, 2, x_192);
lean_ctor_set(x_196, 3, x_193);
lean_ctor_set(x_196, 4, x_194);
x_197 = lean_st_ref_set(x_5, x_196);
lean_dec(x_5);
x_198 = lean_box(0);
x_199 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_199, 0, x_198);
return x_199;
}
}
else
{
lean_dec(x_25);
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec(x_5);
lean_dec_ref(x_4);
return x_26;
}
}
else
{
uint8_t x_200; 
lean_free_object(x_10);
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec(x_5);
lean_dec_ref(x_4);
x_200 = !lean_is_exclusive(x_24);
if (x_200 == 0)
{
return x_24;
}
else
{
lean_object* x_201; lean_object* x_202; 
x_201 = lean_ctor_get(x_24, 0);
lean_inc(x_201);
lean_dec(x_24);
x_202 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_202, 0, x_201);
return x_202;
}
}
}
else
{
lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; 
lean_dec(x_19);
lean_dec_ref(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_14);
lean_free_object(x_10);
lean_dec(x_3);
lean_dec(x_2);
x_203 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__1;
x_204 = l_Lean_MessageData_ofName(x_1);
x_205 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_205, 0, x_203);
lean_ctor_set(x_205, 1, x_204);
x_206 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__3;
x_207 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_207, 0, x_205);
lean_ctor_set(x_207, 1, x_206);
x_208 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(x_207, x_4, x_5, x_6, x_7);
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec(x_5);
lean_dec_ref(x_4);
return x_208;
}
}
else
{
lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; 
x_209 = lean_ctor_get(x_10, 0);
lean_inc(x_209);
lean_dec(x_10);
x_210 = lean_ctor_get(x_209, 0);
lean_inc_ref(x_210);
x_211 = lean_ctor_get(x_209, 4);
lean_inc(x_211);
x_212 = lean_ctor_get(x_209, 5);
lean_inc(x_212);
lean_dec_ref(x_209);
x_213 = lean_ctor_get(x_210, 1);
lean_inc(x_213);
x_214 = lean_ctor_get(x_210, 2);
lean_inc_ref(x_214);
lean_dec_ref(x_210);
x_215 = lean_box(0);
lean_inc(x_213);
x_216 = l_List_mapTR_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__9(x_213, x_215);
if (lean_obj_tag(x_216) == 1)
{
lean_object* x_217; lean_object* x_218; lean_object* x_219; uint8_t x_220; lean_object* x_221; 
x_217 = lean_ctor_get(x_216, 0);
lean_inc(x_217);
x_218 = lean_ctor_get(x_216, 1);
lean_inc(x_218);
lean_dec_ref(x_216);
x_219 = lean_alloc_closure((void*)(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___boxed), 15, 8);
lean_closure_set(x_219, 0, x_2);
lean_closure_set(x_219, 1, x_211);
lean_closure_set(x_219, 2, x_212);
lean_closure_set(x_219, 3, x_217);
lean_closure_set(x_219, 4, x_218);
lean_closure_set(x_219, 5, x_1);
lean_closure_set(x_219, 6, x_3);
lean_closure_set(x_219, 7, x_213);
x_220 = 0;
lean_inc(x_7);
lean_inc_ref(x_6);
lean_inc(x_5);
lean_inc_ref(x_4);
x_221 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_214, x_219, x_220, x_4, x_5, x_6, x_7);
if (lean_obj_tag(x_221) == 0)
{
lean_object* x_222; lean_object* x_223; lean_object* x_224; 
x_222 = lean_ctor_get(x_221, 0);
lean_inc(x_222);
lean_dec_ref(x_221);
lean_inc(x_222);
x_223 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_223, 0, x_222);
lean_inc(x_7);
lean_inc_ref(x_6);
x_224 = l_Lean_addDecl(x_223, x_220, x_6, x_7);
if (lean_obj_tag(x_224) == 0)
{
lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; 
lean_dec_ref(x_224);
x_225 = lean_ctor_get(x_222, 0);
lean_inc_ref(x_225);
lean_dec(x_222);
x_226 = lean_ctor_get(x_225, 0);
lean_inc(x_226);
lean_dec_ref(x_225);
lean_inc(x_226);
x_227 = l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14(x_226, x_4, x_5, x_6, x_7);
lean_dec_ref(x_6);
lean_dec_ref(x_4);
if (lean_is_exclusive(x_227)) {
 lean_ctor_release(x_227, 0);
 x_228 = x_227;
} else {
 lean_dec_ref(x_227);
 x_228 = lean_box(0);
}
x_229 = lean_st_ref_take(x_7);
x_230 = lean_ctor_get(x_229, 0);
lean_inc_ref(x_230);
x_231 = lean_ctor_get(x_229, 1);
lean_inc(x_231);
x_232 = lean_ctor_get(x_229, 2);
lean_inc_ref(x_232);
x_233 = lean_ctor_get(x_229, 3);
lean_inc_ref(x_233);
x_234 = lean_ctor_get(x_229, 4);
lean_inc_ref(x_234);
x_235 = lean_ctor_get(x_229, 6);
lean_inc_ref(x_235);
x_236 = lean_ctor_get(x_229, 7);
lean_inc_ref(x_236);
x_237 = lean_ctor_get(x_229, 8);
lean_inc_ref(x_237);
if (lean_is_exclusive(x_229)) {
 lean_ctor_release(x_229, 0);
 lean_ctor_release(x_229, 1);
 lean_ctor_release(x_229, 2);
 lean_ctor_release(x_229, 3);
 lean_ctor_release(x_229, 4);
 lean_ctor_release(x_229, 5);
 lean_ctor_release(x_229, 6);
 lean_ctor_release(x_229, 7);
 lean_ctor_release(x_229, 8);
 x_238 = x_229;
} else {
 lean_dec_ref(x_229);
 x_238 = lean_box(0);
}
lean_inc(x_226);
x_239 = l_Lean_markAuxRecursor(x_230, x_226);
x_240 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__2;
if (lean_is_scalar(x_238)) {
 x_241 = lean_alloc_ctor(0, 9, 0);
} else {
 x_241 = x_238;
}
lean_ctor_set(x_241, 0, x_239);
lean_ctor_set(x_241, 1, x_231);
lean_ctor_set(x_241, 2, x_232);
lean_ctor_set(x_241, 3, x_233);
lean_ctor_set(x_241, 4, x_234);
lean_ctor_set(x_241, 5, x_240);
lean_ctor_set(x_241, 6, x_235);
lean_ctor_set(x_241, 7, x_236);
lean_ctor_set(x_241, 8, x_237);
x_242 = lean_st_ref_set(x_7, x_241);
x_243 = lean_st_ref_take(x_5);
x_244 = lean_ctor_get(x_243, 0);
lean_inc_ref(x_244);
x_245 = lean_ctor_get(x_243, 2);
lean_inc(x_245);
x_246 = lean_ctor_get(x_243, 3);
lean_inc_ref(x_246);
x_247 = lean_ctor_get(x_243, 4);
lean_inc_ref(x_247);
if (lean_is_exclusive(x_243)) {
 lean_ctor_release(x_243, 0);
 lean_ctor_release(x_243, 1);
 lean_ctor_release(x_243, 2);
 lean_ctor_release(x_243, 3);
 lean_ctor_release(x_243, 4);
 x_248 = x_243;
} else {
 lean_dec_ref(x_243);
 x_248 = lean_box(0);
}
x_249 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3;
if (lean_is_scalar(x_248)) {
 x_250 = lean_alloc_ctor(0, 5, 0);
} else {
 x_250 = x_248;
}
lean_ctor_set(x_250, 0, x_244);
lean_ctor_set(x_250, 1, x_249);
lean_ctor_set(x_250, 2, x_245);
lean_ctor_set(x_250, 3, x_246);
lean_ctor_set(x_250, 4, x_247);
x_251 = lean_st_ref_set(x_5, x_250);
x_252 = lean_st_ref_take(x_7);
x_253 = lean_ctor_get(x_252, 0);
lean_inc_ref(x_253);
x_254 = lean_ctor_get(x_252, 1);
lean_inc(x_254);
x_255 = lean_ctor_get(x_252, 2);
lean_inc_ref(x_255);
x_256 = lean_ctor_get(x_252, 3);
lean_inc_ref(x_256);
x_257 = lean_ctor_get(x_252, 4);
lean_inc_ref(x_257);
x_258 = lean_ctor_get(x_252, 6);
lean_inc_ref(x_258);
x_259 = lean_ctor_get(x_252, 7);
lean_inc_ref(x_259);
x_260 = lean_ctor_get(x_252, 8);
lean_inc_ref(x_260);
if (lean_is_exclusive(x_252)) {
 lean_ctor_release(x_252, 0);
 lean_ctor_release(x_252, 1);
 lean_ctor_release(x_252, 2);
 lean_ctor_release(x_252, 3);
 lean_ctor_release(x_252, 4);
 lean_ctor_release(x_252, 5);
 lean_ctor_release(x_252, 6);
 lean_ctor_release(x_252, 7);
 lean_ctor_release(x_252, 8);
 x_261 = x_252;
} else {
 lean_dec_ref(x_252);
 x_261 = lean_box(0);
}
x_262 = l_Lean_addProtected(x_253, x_226);
if (lean_is_scalar(x_261)) {
 x_263 = lean_alloc_ctor(0, 9, 0);
} else {
 x_263 = x_261;
}
lean_ctor_set(x_263, 0, x_262);
lean_ctor_set(x_263, 1, x_254);
lean_ctor_set(x_263, 2, x_255);
lean_ctor_set(x_263, 3, x_256);
lean_ctor_set(x_263, 4, x_257);
lean_ctor_set(x_263, 5, x_240);
lean_ctor_set(x_263, 6, x_258);
lean_ctor_set(x_263, 7, x_259);
lean_ctor_set(x_263, 8, x_260);
x_264 = lean_st_ref_set(x_7, x_263);
lean_dec(x_7);
x_265 = lean_st_ref_take(x_5);
x_266 = lean_ctor_get(x_265, 0);
lean_inc_ref(x_266);
x_267 = lean_ctor_get(x_265, 2);
lean_inc(x_267);
x_268 = lean_ctor_get(x_265, 3);
lean_inc_ref(x_268);
x_269 = lean_ctor_get(x_265, 4);
lean_inc_ref(x_269);
if (lean_is_exclusive(x_265)) {
 lean_ctor_release(x_265, 0);
 lean_ctor_release(x_265, 1);
 lean_ctor_release(x_265, 2);
 lean_ctor_release(x_265, 3);
 lean_ctor_release(x_265, 4);
 x_270 = x_265;
} else {
 lean_dec_ref(x_265);
 x_270 = lean_box(0);
}
if (lean_is_scalar(x_270)) {
 x_271 = lean_alloc_ctor(0, 5, 0);
} else {
 x_271 = x_270;
}
lean_ctor_set(x_271, 0, x_266);
lean_ctor_set(x_271, 1, x_249);
lean_ctor_set(x_271, 2, x_267);
lean_ctor_set(x_271, 3, x_268);
lean_ctor_set(x_271, 4, x_269);
x_272 = lean_st_ref_set(x_5, x_271);
lean_dec(x_5);
x_273 = lean_box(0);
if (lean_is_scalar(x_228)) {
 x_274 = lean_alloc_ctor(0, 1, 0);
} else {
 x_274 = x_228;
}
lean_ctor_set(x_274, 0, x_273);
return x_274;
}
else
{
lean_dec(x_222);
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec(x_5);
lean_dec_ref(x_4);
return x_224;
}
}
else
{
lean_object* x_275; lean_object* x_276; lean_object* x_277; 
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec(x_5);
lean_dec_ref(x_4);
x_275 = lean_ctor_get(x_221, 0);
lean_inc(x_275);
if (lean_is_exclusive(x_221)) {
 lean_ctor_release(x_221, 0);
 x_276 = x_221;
} else {
 lean_dec_ref(x_221);
 x_276 = lean_box(0);
}
if (lean_is_scalar(x_276)) {
 x_277 = lean_alloc_ctor(1, 1, 0);
} else {
 x_277 = x_276;
}
lean_ctor_set(x_277, 0, x_275);
return x_277;
}
}
else
{
lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; 
lean_dec(x_216);
lean_dec_ref(x_214);
lean_dec(x_213);
lean_dec(x_212);
lean_dec(x_211);
lean_dec(x_3);
lean_dec(x_2);
x_278 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__1;
x_279 = l_Lean_MessageData_ofName(x_1);
x_280 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_280, 0, x_278);
lean_ctor_set(x_280, 1, x_279);
x_281 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__3;
x_282 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_282, 0, x_280);
lean_ctor_set(x_282, 1, x_281);
x_283 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(x_282, x_4, x_5, x_6, x_7);
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec(x_5);
lean_dec_ref(x_4);
return x_283;
}
}
}
else
{
lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; 
lean_dec(x_10);
lean_dec(x_3);
lean_dec(x_2);
x_284 = l_Lean_MessageData_ofName(x_1);
x_285 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__5;
x_286 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_286, 0, x_284);
lean_ctor_set(x_286, 1, x_285);
x_287 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(x_286, x_4, x_5, x_6, x_7);
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec(x_5);
lean_dec_ref(x_4);
return x_287;
}
}
else
{
uint8_t x_288; 
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_288 = !lean_is_exclusive(x_9);
if (x_288 == 0)
{
return x_9;
}
else
{
lean_object* x_289; lean_object* x_290; 
x_289 = lean_ctor_get(x_9, 0);
lean_inc(x_289);
lean_dec(x_9);
x_290 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_290, 0, x_289);
return x_290;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_11; 
x_11 = l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
uint8_t x_8; lean_object* x_9; 
x_8 = lean_unbox(x_2);
x_9 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14(x_1, x_8, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_7);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_2);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_7);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_2);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_10; 
x_10 = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
lean_dec(x_8);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_2);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__10(x_1, x_2, x_3, x_4, x_5);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2___redArg(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_1);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_7);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_1);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_1);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2_spec__2(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
size_t x_12; size_t x_13; lean_object* x_14; 
x_12 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_13 = lean_unbox_usize(x_5);
lean_dec(x_5);
x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__12(x_1, x_2, x_3, x_12, x_13, x_6, x_7, x_8, x_9, x_10);
lean_dec_ref(x_3);
return x_14;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
size_t x_11; size_t x_12; lean_object* x_13; 
x_11 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_12 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_13 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__11(x_1, x_2, x_11, x_12, x_5, x_6, x_7, x_8, x_9);
lean_dec_ref(x_2);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13___redArg(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
uint8_t x_6; lean_object* x_7; 
x_6 = lean_unbox(x_2);
x_7 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg(x_1, x_6, x_3, x_4);
lean_dec(x_4);
lean_dec(x_3);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_5; 
x_5 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg(x_1, x_2, x_3);
lean_dec(x_3);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_9; 
x_9 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__1___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; 
x_4 = lean_ctor_get(x_2, 2);
x_5 = lean_ctor_get(x_2, 13);
x_6 = l_Lean_checkTraceOption(x_5, x_4, x_1);
x_7 = lean_box(x_6);
x_8 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_isTracingEnabledFor___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__1___redArg(x_1, x_4);
return x_7;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__4_spec__4(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; 
x_5 = lean_array_uget(x_3, x_2);
x_6 = lean_ctor_get(x_5, 1);
lean_inc_ref(x_6);
lean_dec(x_5);
x_7 = lean_unsigned_to_nat(0u);
x_8 = lean_array_uset(x_3, x_2, x_7);
x_9 = 1;
x_10 = lean_usize_add(x_2, x_9);
x_11 = lean_array_uset(x_8, x_2, x_6);
x_2 = x_10;
x_3 = x_11;
goto _start;
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
uint8_t x_10; 
x_10 = !lean_is_exclusive(x_7);
if (x_10 == 0)
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; 
x_11 = lean_ctor_get(x_7, 5);
x_12 = lean_st_ref_get(x_8);
x_13 = lean_ctor_get(x_12, 4);
lean_inc_ref(x_13);
lean_dec(x_12);
x_14 = lean_ctor_get(x_13, 0);
lean_inc_ref(x_14);
lean_dec_ref(x_13);
x_15 = l_Lean_replaceRef(x_3, x_11);
lean_dec(x_11);
lean_ctor_set(x_7, 5, x_15);
x_16 = l_Lean_PersistentArray_toArray___redArg(x_14);
lean_dec_ref(x_14);
x_17 = lean_array_size(x_16);
x_18 = 0;
x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__4_spec__4(x_17, x_18, x_16);
x_20 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_20, 0, x_2);
lean_ctor_set(x_20, 1, x_4);
lean_ctor_set(x_20, 2, x_19);
x_21 = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2_spec__2(x_20, x_5, x_6, x_7, x_8);
lean_dec_ref(x_7);
x_22 = !lean_is_exclusive(x_21);
if (x_22 == 0)
{
lean_object* x_23; lean_object* x_24; uint8_t x_25; 
x_23 = lean_ctor_get(x_21, 0);
x_24 = lean_st_ref_take(x_8);
x_25 = !lean_is_exclusive(x_24);
if (x_25 == 0)
{
lean_object* x_26; uint8_t x_27; 
x_26 = lean_ctor_get(x_24, 4);
x_27 = !lean_is_exclusive(x_26);
if (x_27 == 0)
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; 
x_28 = lean_ctor_get(x_26, 0);
lean_dec(x_28);
x_29 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_29, 0, x_3);
lean_ctor_set(x_29, 1, x_23);
x_30 = l_Lean_PersistentArray_push___redArg(x_1, x_29);
lean_ctor_set(x_26, 0, x_30);
x_31 = lean_st_ref_set(x_8, x_24);
x_32 = lean_box(0);
lean_ctor_set(x_21, 0, x_32);
return x_21;
}
else
{
uint64_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; 
x_33 = lean_ctor_get_uint64(x_26, sizeof(void*)*1);
lean_dec(x_26);
x_34 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_34, 0, x_3);
lean_ctor_set(x_34, 1, x_23);
x_35 = l_Lean_PersistentArray_push___redArg(x_1, x_34);
x_36 = lean_alloc_ctor(0, 1, 8);
lean_ctor_set(x_36, 0, x_35);
lean_ctor_set_uint64(x_36, sizeof(void*)*1, x_33);
lean_ctor_set(x_24, 4, x_36);
x_37 = lean_st_ref_set(x_8, x_24);
x_38 = lean_box(0);
lean_ctor_set(x_21, 0, x_38);
return x_21;
}
}
else
{
lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint64_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; 
x_39 = lean_ctor_get(x_24, 4);
x_40 = lean_ctor_get(x_24, 0);
x_41 = lean_ctor_get(x_24, 1);
x_42 = lean_ctor_get(x_24, 2);
x_43 = lean_ctor_get(x_24, 3);
x_44 = lean_ctor_get(x_24, 5);
x_45 = lean_ctor_get(x_24, 6);
x_46 = lean_ctor_get(x_24, 7);
x_47 = lean_ctor_get(x_24, 8);
lean_inc(x_47);
lean_inc(x_46);
lean_inc(x_45);
lean_inc(x_44);
lean_inc(x_39);
lean_inc(x_43);
lean_inc(x_42);
lean_inc(x_41);
lean_inc(x_40);
lean_dec(x_24);
x_48 = lean_ctor_get_uint64(x_39, sizeof(void*)*1);
if (lean_is_exclusive(x_39)) {
 lean_ctor_release(x_39, 0);
 x_49 = x_39;
} else {
 lean_dec_ref(x_39);
 x_49 = lean_box(0);
}
x_50 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_50, 0, x_3);
lean_ctor_set(x_50, 1, x_23);
x_51 = l_Lean_PersistentArray_push___redArg(x_1, x_50);
if (lean_is_scalar(x_49)) {
 x_52 = lean_alloc_ctor(0, 1, 8);
} else {
 x_52 = x_49;
}
lean_ctor_set(x_52, 0, x_51);
lean_ctor_set_uint64(x_52, sizeof(void*)*1, x_48);
x_53 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_53, 0, x_40);
lean_ctor_set(x_53, 1, x_41);
lean_ctor_set(x_53, 2, x_42);
lean_ctor_set(x_53, 3, x_43);
lean_ctor_set(x_53, 4, x_52);
lean_ctor_set(x_53, 5, x_44);
lean_ctor_set(x_53, 6, x_45);
lean_ctor_set(x_53, 7, x_46);
lean_ctor_set(x_53, 8, x_47);
x_54 = lean_st_ref_set(x_8, x_53);
x_55 = lean_box(0);
lean_ctor_set(x_21, 0, x_55);
return x_21;
}
}
else
{
lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint64_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; 
x_56 = lean_ctor_get(x_21, 0);
lean_inc(x_56);
lean_dec(x_21);
x_57 = lean_st_ref_take(x_8);
x_58 = lean_ctor_get(x_57, 4);
lean_inc_ref(x_58);
x_59 = lean_ctor_get(x_57, 0);
lean_inc_ref(x_59);
x_60 = lean_ctor_get(x_57, 1);
lean_inc(x_60);
x_61 = lean_ctor_get(x_57, 2);
lean_inc_ref(x_61);
x_62 = lean_ctor_get(x_57, 3);
lean_inc_ref(x_62);
x_63 = lean_ctor_get(x_57, 5);
lean_inc_ref(x_63);
x_64 = lean_ctor_get(x_57, 6);
lean_inc_ref(x_64);
x_65 = lean_ctor_get(x_57, 7);
lean_inc_ref(x_65);
x_66 = lean_ctor_get(x_57, 8);
lean_inc_ref(x_66);
if (lean_is_exclusive(x_57)) {
 lean_ctor_release(x_57, 0);
 lean_ctor_release(x_57, 1);
 lean_ctor_release(x_57, 2);
 lean_ctor_release(x_57, 3);
 lean_ctor_release(x_57, 4);
 lean_ctor_release(x_57, 5);
 lean_ctor_release(x_57, 6);
 lean_ctor_release(x_57, 7);
 lean_ctor_release(x_57, 8);
 x_67 = x_57;
} else {
 lean_dec_ref(x_57);
 x_67 = lean_box(0);
}
x_68 = lean_ctor_get_uint64(x_58, sizeof(void*)*1);
if (lean_is_exclusive(x_58)) {
 lean_ctor_release(x_58, 0);
 x_69 = x_58;
} else {
 lean_dec_ref(x_58);
 x_69 = lean_box(0);
}
x_70 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_70, 0, x_3);
lean_ctor_set(x_70, 1, x_56);
x_71 = l_Lean_PersistentArray_push___redArg(x_1, x_70);
if (lean_is_scalar(x_69)) {
 x_72 = lean_alloc_ctor(0, 1, 8);
} else {
 x_72 = x_69;
}
lean_ctor_set(x_72, 0, x_71);
lean_ctor_set_uint64(x_72, sizeof(void*)*1, x_68);
if (lean_is_scalar(x_67)) {
 x_73 = lean_alloc_ctor(0, 9, 0);
} else {
 x_73 = x_67;
}
lean_ctor_set(x_73, 0, x_59);
lean_ctor_set(x_73, 1, x_60);
lean_ctor_set(x_73, 2, x_61);
lean_ctor_set(x_73, 3, x_62);
lean_ctor_set(x_73, 4, x_72);
lean_ctor_set(x_73, 5, x_63);
lean_ctor_set(x_73, 6, x_64);
lean_ctor_set(x_73, 7, x_65);
lean_ctor_set(x_73, 8, x_66);
x_74 = lean_st_ref_set(x_8, x_73);
x_75 = lean_box(0);
x_76 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_76, 0, x_75);
return x_76;
}
}
else
{
lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; lean_object* x_90; uint8_t x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; size_t x_99; size_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint64_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; 
x_77 = lean_ctor_get(x_7, 0);
x_78 = lean_ctor_get(x_7, 1);
x_79 = lean_ctor_get(x_7, 2);
x_80 = lean_ctor_get(x_7, 3);
x_81 = lean_ctor_get(x_7, 4);
x_82 = lean_ctor_get(x_7, 5);
x_83 = lean_ctor_get(x_7, 6);
x_84 = lean_ctor_get(x_7, 7);
x_85 = lean_ctor_get(x_7, 8);
x_86 = lean_ctor_get(x_7, 9);
x_87 = lean_ctor_get(x_7, 10);
x_88 = lean_ctor_get(x_7, 11);
x_89 = lean_ctor_get_uint8(x_7, sizeof(void*)*14);
x_90 = lean_ctor_get(x_7, 12);
x_91 = lean_ctor_get_uint8(x_7, sizeof(void*)*14 + 1);
x_92 = lean_ctor_get(x_7, 13);
lean_inc(x_92);
lean_inc(x_90);
lean_inc(x_88);
lean_inc(x_87);
lean_inc(x_86);
lean_inc(x_85);
lean_inc(x_84);
lean_inc(x_83);
lean_inc(x_82);
lean_inc(x_81);
lean_inc(x_80);
lean_inc(x_79);
lean_inc(x_78);
lean_inc(x_77);
lean_dec(x_7);
x_93 = lean_st_ref_get(x_8);
x_94 = lean_ctor_get(x_93, 4);
lean_inc_ref(x_94);
lean_dec(x_93);
x_95 = lean_ctor_get(x_94, 0);
lean_inc_ref(x_95);
lean_dec_ref(x_94);
x_96 = l_Lean_replaceRef(x_3, x_82);
lean_dec(x_82);
x_97 = lean_alloc_ctor(0, 14, 2);
lean_ctor_set(x_97, 0, x_77);
lean_ctor_set(x_97, 1, x_78);
lean_ctor_set(x_97, 2, x_79);
lean_ctor_set(x_97, 3, x_80);
lean_ctor_set(x_97, 4, x_81);
lean_ctor_set(x_97, 5, x_96);
lean_ctor_set(x_97, 6, x_83);
lean_ctor_set(x_97, 7, x_84);
lean_ctor_set(x_97, 8, x_85);
lean_ctor_set(x_97, 9, x_86);
lean_ctor_set(x_97, 10, x_87);
lean_ctor_set(x_97, 11, x_88);
lean_ctor_set(x_97, 12, x_90);
lean_ctor_set(x_97, 13, x_92);
lean_ctor_set_uint8(x_97, sizeof(void*)*14, x_89);
lean_ctor_set_uint8(x_97, sizeof(void*)*14 + 1, x_91);
x_98 = l_Lean_PersistentArray_toArray___redArg(x_95);
lean_dec_ref(x_95);
x_99 = lean_array_size(x_98);
x_100 = 0;
x_101 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__4_spec__4(x_99, x_100, x_98);
x_102 = lean_alloc_ctor(9, 3, 0);
lean_ctor_set(x_102, 0, x_2);
lean_ctor_set(x_102, 1, x_4);
lean_ctor_set(x_102, 2, x_101);
x_103 = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2_spec__2(x_102, x_5, x_6, x_97, x_8);
lean_dec_ref(x_97);
x_104 = lean_ctor_get(x_103, 0);
lean_inc(x_104);
if (lean_is_exclusive(x_103)) {
 lean_ctor_release(x_103, 0);
 x_105 = x_103;
} else {
 lean_dec_ref(x_103);
 x_105 = lean_box(0);
}
x_106 = lean_st_ref_take(x_8);
x_107 = lean_ctor_get(x_106, 4);
lean_inc_ref(x_107);
x_108 = lean_ctor_get(x_106, 0);
lean_inc_ref(x_108);
x_109 = lean_ctor_get(x_106, 1);
lean_inc(x_109);
x_110 = lean_ctor_get(x_106, 2);
lean_inc_ref(x_110);
x_111 = lean_ctor_get(x_106, 3);
lean_inc_ref(x_111);
x_112 = lean_ctor_get(x_106, 5);
lean_inc_ref(x_112);
x_113 = lean_ctor_get(x_106, 6);
lean_inc_ref(x_113);
x_114 = lean_ctor_get(x_106, 7);
lean_inc_ref(x_114);
x_115 = lean_ctor_get(x_106, 8);
lean_inc_ref(x_115);
if (lean_is_exclusive(x_106)) {
 lean_ctor_release(x_106, 0);
 lean_ctor_release(x_106, 1);
 lean_ctor_release(x_106, 2);
 lean_ctor_release(x_106, 3);
 lean_ctor_release(x_106, 4);
 lean_ctor_release(x_106, 5);
 lean_ctor_release(x_106, 6);
 lean_ctor_release(x_106, 7);
 lean_ctor_release(x_106, 8);
 x_116 = x_106;
} else {
 lean_dec_ref(x_106);
 x_116 = lean_box(0);
}
x_117 = lean_ctor_get_uint64(x_107, sizeof(void*)*1);
if (lean_is_exclusive(x_107)) {
 lean_ctor_release(x_107, 0);
 x_118 = x_107;
} else {
 lean_dec_ref(x_107);
 x_118 = lean_box(0);
}
x_119 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_119, 0, x_3);
lean_ctor_set(x_119, 1, x_104);
x_120 = l_Lean_PersistentArray_push___redArg(x_1, x_119);
if (lean_is_scalar(x_118)) {
 x_121 = lean_alloc_ctor(0, 1, 8);
} else {
 x_121 = x_118;
}
lean_ctor_set(x_121, 0, x_120);
lean_ctor_set_uint64(x_121, sizeof(void*)*1, x_117);
if (lean_is_scalar(x_116)) {
 x_122 = lean_alloc_ctor(0, 9, 0);
} else {
 x_122 = x_116;
}
lean_ctor_set(x_122, 0, x_108);
lean_ctor_set(x_122, 1, x_109);
lean_ctor_set(x_122, 2, x_110);
lean_ctor_set(x_122, 3, x_111);
lean_ctor_set(x_122, 4, x_121);
lean_ctor_set(x_122, 5, x_112);
lean_ctor_set(x_122, 6, x_113);
lean_ctor_set(x_122, 7, x_114);
lean_ctor_set(x_122, 8, x_115);
x_123 = lean_st_ref_set(x_8, x_122);
x_124 = lean_box(0);
if (lean_is_scalar(x_105)) {
 x_125 = lean_alloc_ctor(0, 1, 0);
} else {
 x_125 = x_105;
}
lean_ctor_set(x_125, 0, x_124);
return x_125;
}
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6___redArg(lean_object* x_1) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
uint8_t x_3; 
x_3 = !lean_is_exclusive(x_1);
if (x_3 == 0)
{
lean_ctor_set_tag(x_1, 1);
return x_1;
}
else
{
lean_object* x_4; lean_object* x_5; 
x_4 = lean_ctor_get(x_1, 0);
lean_inc(x_4);
lean_dec(x_1);
x_5 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_5, 0, x_4);
return x_5;
}
}
else
{
uint8_t x_6; 
x_6 = !lean_is_exclusive(x_1);
if (x_6 == 0)
{
lean_ctor_set_tag(x_1, 0);
return x_1;
}
else
{
lean_object* x_7; lean_object* x_8; 
x_7 = lean_ctor_get(x_1, 0);
lean_inc(x_7);
lean_dec(x_1);
x_8 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_8, 0, x_7);
return x_8;
}
}
}
}
static double _init_l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__0() {
_start:
{
lean_object* x_1; double x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_float_of_nat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("<exception thrown while producing trace node message>", 53, 53);
return x_1;
}
}
static lean_object* _init_l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__1;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static double _init_l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__3() {
_start:
{
lean_object* x_1; double x_2; 
x_1 = lean_unsigned_to_nat(1000000000u);
x_2 = lean_float_of_nat(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_trace_profiler;
return x_1;
}
}
LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__3(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_3 = lean_ctor_get(x_2, 0);
x_4 = lean_ctor_get(x_2, 1);
x_5 = l_Lean_KVMap_find(x_1, x_3);
if (lean_obj_tag(x_5) == 0)
{
uint8_t x_6; 
x_6 = lean_unbox(x_4);
return x_6;
}
else
{
lean_object* x_7; 
x_7 = lean_ctor_get(x_5, 0);
lean_inc(x_7);
lean_dec_ref(x_5);
if (lean_obj_tag(x_7) == 1)
{
uint8_t x_8; 
x_8 = lean_ctor_get_uint8(x_7, 0);
lean_dec_ref(x_7);
return x_8;
}
else
{
uint8_t x_9; 
lean_dec(x_7);
x_9 = lean_unbox(x_4);
return x_9;
}
}
}
}
static lean_object* _init_l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_trace_profiler_threshold;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__7(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_3 = lean_ctor_get(x_2, 0);
x_4 = lean_ctor_get(x_2, 1);
x_5 = l_Lean_KVMap_find(x_1, x_3);
if (lean_obj_tag(x_5) == 0)
{
lean_inc(x_4);
return x_4;
}
else
{
lean_object* x_6; 
x_6 = lean_ctor_get(x_5, 0);
lean_inc(x_6);
lean_dec_ref(x_5);
if (lean_obj_tag(x_6) == 3)
{
lean_object* x_7; 
x_7 = lean_ctor_get(x_6, 0);
lean_inc(x_7);
lean_dec_ref(x_6);
return x_7;
}
else
{
lean_dec(x_6);
lean_inc(x_4);
return x_4;
}
}
}
}
static double _init_l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__6() {
_start:
{
lean_object* x_1; double x_2; 
x_1 = lean_unsigned_to_nat(1000u);
x_2 = lean_float_of_nat(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(32u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__0;
x_2 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__2() {
_start:
{
size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; 
x_1 = 5;
x_2 = lean_unsigned_to_nat(0u);
x_3 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__0;
x_4 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__1;
x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1);
lean_ctor_set(x_5, 0, x_4);
lean_ctor_set(x_5, 1, x_3);
lean_ctor_set(x_5, 2, x_2);
lean_ctor_set(x_5, 3, x_2);
lean_ctor_set_usize(x_5, 4, x_1);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg(lean_object* x_1) {
_start:
{
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; 
x_3 = lean_st_ref_get(x_1);
x_4 = lean_ctor_get(x_3, 4);
lean_inc_ref(x_4);
lean_dec(x_3);
x_5 = lean_ctor_get(x_4, 0);
lean_inc_ref(x_5);
lean_dec_ref(x_4);
x_6 = lean_st_ref_take(x_1);
x_7 = !lean_is_exclusive(x_6);
if (x_7 == 0)
{
lean_object* x_8; uint8_t x_9; 
x_8 = lean_ctor_get(x_6, 4);
x_9 = !lean_is_exclusive(x_8);
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_10 = lean_ctor_get(x_8, 0);
lean_dec(x_10);
x_11 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__2;
lean_ctor_set(x_8, 0, x_11);
x_12 = lean_st_ref_set(x_1, x_6);
x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_5);
return x_13;
}
else
{
uint64_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; 
x_14 = lean_ctor_get_uint64(x_8, sizeof(void*)*1);
lean_dec(x_8);
x_15 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__2;
x_16 = lean_alloc_ctor(0, 1, 8);
lean_ctor_set(x_16, 0, x_15);
lean_ctor_set_uint64(x_16, sizeof(void*)*1, x_14);
lean_ctor_set(x_6, 4, x_16);
x_17 = lean_st_ref_set(x_1, x_6);
x_18 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_18, 0, x_5);
return x_18;
}
}
else
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint64_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; 
x_19 = lean_ctor_get(x_6, 4);
x_20 = lean_ctor_get(x_6, 0);
x_21 = lean_ctor_get(x_6, 1);
x_22 = lean_ctor_get(x_6, 2);
x_23 = lean_ctor_get(x_6, 3);
x_24 = lean_ctor_get(x_6, 5);
x_25 = lean_ctor_get(x_6, 6);
x_26 = lean_ctor_get(x_6, 7);
x_27 = lean_ctor_get(x_6, 8);
lean_inc(x_27);
lean_inc(x_26);
lean_inc(x_25);
lean_inc(x_24);
lean_inc(x_19);
lean_inc(x_23);
lean_inc(x_22);
lean_inc(x_21);
lean_inc(x_20);
lean_dec(x_6);
x_28 = lean_ctor_get_uint64(x_19, sizeof(void*)*1);
if (lean_is_exclusive(x_19)) {
 lean_ctor_release(x_19, 0);
 x_29 = x_19;
} else {
 lean_dec_ref(x_19);
 x_29 = lean_box(0);
}
x_30 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__2;
if (lean_is_scalar(x_29)) {
 x_31 = lean_alloc_ctor(0, 1, 8);
} else {
 x_31 = x_29;
}
lean_ctor_set(x_31, 0, x_30);
lean_ctor_set_uint64(x_31, sizeof(void*)*1, x_28);
x_32 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_32, 0, x_20);
lean_ctor_set(x_32, 1, x_21);
lean_ctor_set(x_32, 2, x_22);
lean_ctor_set(x_32, 3, x_23);
lean_ctor_set(x_32, 4, x_31);
lean_ctor_set(x_32, 5, x_24);
lean_ctor_set(x_32, 6, x_25);
lean_ctor_set(x_32, 7, x_26);
lean_ctor_set(x_32, 8, x_27);
x_33 = lean_st_ref_set(x_1, x_32);
x_34 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_34, 0, x_5);
return x_34;
}
}
}
static lean_object* _init_l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__7() {
_start:
{
lean_object* x_1; 
x_1 = l_Lean_trace_profiler_useHeartbeats;
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; double x_25; lean_object* x_26; double x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; double x_36; lean_object* x_37; lean_object* x_38; double x_39; lean_object* x_40; uint8_t x_41; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_58; double x_59; double x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_69; lean_object* x_70; double x_71; double x_72; lean_object* x_73; uint8_t x_74; lean_object* x_79; lean_object* x_80; double x_81; lean_object* x_82; lean_object* x_83; double x_84; lean_object* x_85; uint8_t x_86; uint8_t x_87; double x_121; lean_object* x_122; lean_object* x_123; double x_124; lean_object* x_125; uint8_t x_126; double x_127; uint8_t x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_153; lean_object* x_154; double x_155; double x_156; lean_object* x_157; uint8_t x_158; uint8_t x_159; lean_object* x_193; lean_object* x_194; double x_195; double x_196; lean_object* x_197; uint8_t x_198; double x_199; uint8_t x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_243; 
x_11 = lean_ctor_get(x_8, 2);
x_12 = lean_ctor_get(x_8, 5);
lean_inc(x_1);
x_79 = l_Lean_isTracingEnabledFor___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__1___redArg(x_1, x_8);
x_80 = lean_ctor_get(x_79, 0);
lean_inc(x_80);
lean_dec_ref(x_79);
x_243 = lean_unbox(x_80);
if (x_243 == 0)
{
lean_object* x_244; uint8_t x_245; 
x_244 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__4;
x_245 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__3(x_11, x_244);
if (x_245 == 0)
{
lean_object* x_246; 
lean_dec(x_80);
lean_dec_ref(x_5);
lean_dec_ref(x_2);
lean_dec(x_1);
x_246 = lean_apply_5(x_3, x_6, x_7, x_8, x_9, lean_box(0));
return x_246;
}
else
{
lean_inc(x_12);
goto block_242;
}
}
else
{
lean_inc(x_12);
goto block_242;
}
block_24:
{
lean_object* x_22; lean_object* x_23; 
x_22 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__4(x_14, x_16, x_12, x_15, x_17, x_18, x_19, x_20);
lean_dec(x_20);
lean_dec(x_18);
lean_dec_ref(x_17);
lean_dec_ref(x_22);
x_23 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6___redArg(x_13);
return x_23;
}
block_35:
{
if (x_29 == 0)
{
double x_32; lean_object* x_33; 
x_32 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__0;
x_33 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_33, 0, x_1);
lean_ctor_set(x_33, 1, x_5);
lean_ctor_set_float(x_33, sizeof(void*)*2, x_32);
lean_ctor_set_float(x_33, sizeof(void*)*2 + 8, x_32);
lean_ctor_set_uint8(x_33, sizeof(void*)*2 + 16, x_4);
x_13 = x_26;
x_14 = x_28;
x_15 = x_30;
x_16 = x_33;
x_17 = x_6;
x_18 = x_7;
x_19 = x_8;
x_20 = x_9;
x_21 = lean_box(0);
goto block_24;
}
else
{
lean_object* x_34; 
x_34 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_34, 0, x_1);
lean_ctor_set(x_34, 1, x_5);
lean_ctor_set_float(x_34, sizeof(void*)*2, x_25);
lean_ctor_set_float(x_34, sizeof(void*)*2 + 8, x_27);
lean_ctor_set_uint8(x_34, sizeof(void*)*2 + 16, x_4);
x_13 = x_26;
x_14 = x_28;
x_15 = x_30;
x_16 = x_34;
x_17 = x_6;
x_18 = x_7;
x_19 = x_8;
x_20 = x_9;
x_21 = lean_box(0);
goto block_24;
}
}
block_45:
{
lean_object* x_42; 
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_6);
lean_inc_ref(x_37);
x_42 = lean_apply_6(x_2, x_37, x_6, x_7, x_8, x_9, lean_box(0));
if (lean_obj_tag(x_42) == 0)
{
lean_object* x_43; 
x_43 = lean_ctor_get(x_42, 0);
lean_inc(x_43);
lean_dec_ref(x_42);
x_25 = x_36;
x_26 = x_37;
x_27 = x_39;
x_28 = x_40;
x_29 = x_41;
x_30 = x_43;
x_31 = lean_box(0);
goto block_35;
}
else
{
lean_object* x_44; 
lean_dec_ref(x_42);
x_44 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__2;
x_25 = x_36;
x_26 = x_37;
x_27 = x_39;
x_28 = x_40;
x_29 = x_41;
x_30 = x_44;
x_31 = lean_box(0);
goto block_35;
}
}
block_57:
{
lean_object* x_55; lean_object* x_56; 
x_55 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__4(x_47, x_49, x_12, x_48, x_50, x_51, x_52, x_53);
lean_dec(x_53);
lean_dec(x_51);
lean_dec_ref(x_50);
lean_dec_ref(x_55);
x_56 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6___redArg(x_46);
return x_56;
}
block_68:
{
if (x_62 == 0)
{
double x_65; lean_object* x_66; 
x_65 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__0;
x_66 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_66, 0, x_1);
lean_ctor_set(x_66, 1, x_5);
lean_ctor_set_float(x_66, sizeof(void*)*2, x_65);
lean_ctor_set_float(x_66, sizeof(void*)*2 + 8, x_65);
lean_ctor_set_uint8(x_66, sizeof(void*)*2 + 16, x_4);
x_46 = x_58;
x_47 = x_61;
x_48 = x_63;
x_49 = x_66;
x_50 = x_6;
x_51 = x_7;
x_52 = x_8;
x_53 = x_9;
x_54 = lean_box(0);
goto block_57;
}
else
{
lean_object* x_67; 
x_67 = lean_alloc_ctor(0, 2, 17);
lean_ctor_set(x_67, 0, x_1);
lean_ctor_set(x_67, 1, x_5);
lean_ctor_set_float(x_67, sizeof(void*)*2, x_59);
lean_ctor_set_float(x_67, sizeof(void*)*2 + 8, x_60);
lean_ctor_set_uint8(x_67, sizeof(void*)*2 + 16, x_4);
x_46 = x_58;
x_47 = x_61;
x_48 = x_63;
x_49 = x_67;
x_50 = x_6;
x_51 = x_7;
x_52 = x_8;
x_53 = x_9;
x_54 = lean_box(0);
goto block_57;
}
}
block_78:
{
lean_object* x_75; 
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_6);
lean_inc_ref(x_69);
x_75 = lean_apply_6(x_2, x_69, x_6, x_7, x_8, x_9, lean_box(0));
if (lean_obj_tag(x_75) == 0)
{
lean_object* x_76; 
x_76 = lean_ctor_get(x_75, 0);
lean_inc(x_76);
lean_dec_ref(x_75);
x_58 = x_69;
x_59 = x_71;
x_60 = x_72;
x_61 = x_73;
x_62 = x_74;
x_63 = x_76;
x_64 = lean_box(0);
goto block_68;
}
else
{
lean_object* x_77; 
lean_dec_ref(x_75);
x_77 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__2;
x_58 = x_69;
x_59 = x_71;
x_60 = x_72;
x_61 = x_73;
x_62 = x_74;
x_63 = x_77;
x_64 = lean_box(0);
goto block_68;
}
}
block_120:
{
uint8_t x_88; 
x_88 = lean_unbox(x_80);
lean_dec(x_80);
if (x_88 == 0)
{
if (x_87 == 0)
{
lean_object* x_89; uint8_t x_90; 
lean_dec(x_12);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_2);
lean_dec(x_1);
x_89 = lean_st_ref_take(x_9);
x_90 = !lean_is_exclusive(x_89);
if (x_90 == 0)
{
lean_object* x_91; uint8_t x_92; 
x_91 = lean_ctor_get(x_89, 4);
x_92 = !lean_is_exclusive(x_91);
if (x_92 == 0)
{
lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; 
x_93 = lean_ctor_get(x_91, 0);
x_94 = l_Lean_PersistentArray_append___redArg(x_85, x_93);
lean_dec_ref(x_93);
lean_ctor_set(x_91, 0, x_94);
x_95 = lean_st_ref_set(x_9, x_89);
lean_dec(x_9);
x_96 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6___redArg(x_82);
return x_96;
}
else
{
uint64_t x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; 
x_97 = lean_ctor_get_uint64(x_91, sizeof(void*)*1);
x_98 = lean_ctor_get(x_91, 0);
lean_inc(x_98);
lean_dec(x_91);
x_99 = l_Lean_PersistentArray_append___redArg(x_85, x_98);
lean_dec_ref(x_98);
x_100 = lean_alloc_ctor(0, 1, 8);
lean_ctor_set(x_100, 0, x_99);
lean_ctor_set_uint64(x_100, sizeof(void*)*1, x_97);
lean_ctor_set(x_89, 4, x_100);
x_101 = lean_st_ref_set(x_9, x_89);
lean_dec(x_9);
x_102 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6___redArg(x_82);
return x_102;
}
}
else
{
lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint64_t x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; 
x_103 = lean_ctor_get(x_89, 4);
x_104 = lean_ctor_get(x_89, 0);
x_105 = lean_ctor_get(x_89, 1);
x_106 = lean_ctor_get(x_89, 2);
x_107 = lean_ctor_get(x_89, 3);
x_108 = lean_ctor_get(x_89, 5);
x_109 = lean_ctor_get(x_89, 6);
x_110 = lean_ctor_get(x_89, 7);
x_111 = lean_ctor_get(x_89, 8);
lean_inc(x_111);
lean_inc(x_110);
lean_inc(x_109);
lean_inc(x_108);
lean_inc(x_103);
lean_inc(x_107);
lean_inc(x_106);
lean_inc(x_105);
lean_inc(x_104);
lean_dec(x_89);
x_112 = lean_ctor_get_uint64(x_103, sizeof(void*)*1);
x_113 = lean_ctor_get(x_103, 0);
lean_inc_ref(x_113);
if (lean_is_exclusive(x_103)) {
 lean_ctor_release(x_103, 0);
 x_114 = x_103;
} else {
 lean_dec_ref(x_103);
 x_114 = lean_box(0);
}
x_115 = l_Lean_PersistentArray_append___redArg(x_85, x_113);
lean_dec_ref(x_113);
if (lean_is_scalar(x_114)) {
 x_116 = lean_alloc_ctor(0, 1, 8);
} else {
 x_116 = x_114;
}
lean_ctor_set(x_116, 0, x_115);
lean_ctor_set_uint64(x_116, sizeof(void*)*1, x_112);
x_117 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_117, 0, x_104);
lean_ctor_set(x_117, 1, x_105);
lean_ctor_set(x_117, 2, x_106);
lean_ctor_set(x_117, 3, x_107);
lean_ctor_set(x_117, 4, x_116);
lean_ctor_set(x_117, 5, x_108);
lean_ctor_set(x_117, 6, x_109);
lean_ctor_set(x_117, 7, x_110);
lean_ctor_set(x_117, 8, x_111);
x_118 = lean_st_ref_set(x_9, x_117);
lean_dec(x_9);
x_119 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6___redArg(x_82);
return x_119;
}
}
else
{
x_36 = x_81;
x_37 = x_82;
x_38 = lean_box(0);
x_39 = x_84;
x_40 = x_85;
x_41 = x_86;
goto block_45;
}
}
else
{
x_36 = x_81;
x_37 = x_82;
x_38 = lean_box(0);
x_39 = x_84;
x_40 = x_85;
x_41 = x_86;
goto block_45;
}
}
block_130:
{
double x_128; uint8_t x_129; 
x_128 = lean_float_sub(x_124, x_121);
x_129 = lean_float_decLt(x_127, x_128);
x_81 = x_121;
x_82 = x_122;
x_83 = lean_box(0);
x_84 = x_124;
x_85 = x_125;
x_86 = x_126;
x_87 = x_129;
goto block_120;
}
block_152:
{
lean_object* x_136; double x_137; double x_138; double x_139; double x_140; double x_141; lean_object* x_142; uint8_t x_143; 
x_136 = lean_io_mono_nanos_now();
x_137 = lean_float_of_nat(x_132);
x_138 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__3;
x_139 = lean_float_div(x_137, x_138);
x_140 = lean_float_of_nat(x_136);
x_141 = lean_float_div(x_140, x_138);
x_142 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__4;
x_143 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__3(x_11, x_142);
if (x_143 == 0)
{
x_81 = x_139;
x_82 = x_134;
x_83 = lean_box(0);
x_84 = x_141;
x_85 = x_133;
x_86 = x_143;
x_87 = x_143;
goto block_120;
}
else
{
if (x_131 == 0)
{
lean_object* x_144; lean_object* x_145; double x_146; double x_147; double x_148; 
x_144 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__5;
x_145 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__7(x_11, x_144);
x_146 = lean_float_of_nat(x_145);
x_147 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__6;
x_148 = lean_float_div(x_146, x_147);
x_121 = x_139;
x_122 = x_134;
x_123 = lean_box(0);
x_124 = x_141;
x_125 = x_133;
x_126 = x_143;
x_127 = x_148;
goto block_130;
}
else
{
lean_object* x_149; lean_object* x_150; double x_151; 
x_149 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__5;
x_150 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__7(x_11, x_149);
x_151 = lean_float_of_nat(x_150);
x_121 = x_139;
x_122 = x_134;
x_123 = lean_box(0);
x_124 = x_141;
x_125 = x_133;
x_126 = x_143;
x_127 = x_151;
goto block_130;
}
}
}
block_192:
{
uint8_t x_160; 
x_160 = lean_unbox(x_80);
lean_dec(x_80);
if (x_160 == 0)
{
if (x_159 == 0)
{
lean_object* x_161; uint8_t x_162; 
lean_dec(x_12);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_2);
lean_dec(x_1);
x_161 = lean_st_ref_take(x_9);
x_162 = !lean_is_exclusive(x_161);
if (x_162 == 0)
{
lean_object* x_163; uint8_t x_164; 
x_163 = lean_ctor_get(x_161, 4);
x_164 = !lean_is_exclusive(x_163);
if (x_164 == 0)
{
lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; 
x_165 = lean_ctor_get(x_163, 0);
x_166 = l_Lean_PersistentArray_append___redArg(x_157, x_165);
lean_dec_ref(x_165);
lean_ctor_set(x_163, 0, x_166);
x_167 = lean_st_ref_set(x_9, x_161);
lean_dec(x_9);
x_168 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6___redArg(x_153);
return x_168;
}
else
{
uint64_t x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; 
x_169 = lean_ctor_get_uint64(x_163, sizeof(void*)*1);
x_170 = lean_ctor_get(x_163, 0);
lean_inc(x_170);
lean_dec(x_163);
x_171 = l_Lean_PersistentArray_append___redArg(x_157, x_170);
lean_dec_ref(x_170);
x_172 = lean_alloc_ctor(0, 1, 8);
lean_ctor_set(x_172, 0, x_171);
lean_ctor_set_uint64(x_172, sizeof(void*)*1, x_169);
lean_ctor_set(x_161, 4, x_172);
x_173 = lean_st_ref_set(x_9, x_161);
lean_dec(x_9);
x_174 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6___redArg(x_153);
return x_174;
}
}
else
{
lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; uint64_t x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; 
x_175 = lean_ctor_get(x_161, 4);
x_176 = lean_ctor_get(x_161, 0);
x_177 = lean_ctor_get(x_161, 1);
x_178 = lean_ctor_get(x_161, 2);
x_179 = lean_ctor_get(x_161, 3);
x_180 = lean_ctor_get(x_161, 5);
x_181 = lean_ctor_get(x_161, 6);
x_182 = lean_ctor_get(x_161, 7);
x_183 = lean_ctor_get(x_161, 8);
lean_inc(x_183);
lean_inc(x_182);
lean_inc(x_181);
lean_inc(x_180);
lean_inc(x_175);
lean_inc(x_179);
lean_inc(x_178);
lean_inc(x_177);
lean_inc(x_176);
lean_dec(x_161);
x_184 = lean_ctor_get_uint64(x_175, sizeof(void*)*1);
x_185 = lean_ctor_get(x_175, 0);
lean_inc_ref(x_185);
if (lean_is_exclusive(x_175)) {
 lean_ctor_release(x_175, 0);
 x_186 = x_175;
} else {
 lean_dec_ref(x_175);
 x_186 = lean_box(0);
}
x_187 = l_Lean_PersistentArray_append___redArg(x_157, x_185);
lean_dec_ref(x_185);
if (lean_is_scalar(x_186)) {
 x_188 = lean_alloc_ctor(0, 1, 8);
} else {
 x_188 = x_186;
}
lean_ctor_set(x_188, 0, x_187);
lean_ctor_set_uint64(x_188, sizeof(void*)*1, x_184);
x_189 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_189, 0, x_176);
lean_ctor_set(x_189, 1, x_177);
lean_ctor_set(x_189, 2, x_178);
lean_ctor_set(x_189, 3, x_179);
lean_ctor_set(x_189, 4, x_188);
lean_ctor_set(x_189, 5, x_180);
lean_ctor_set(x_189, 6, x_181);
lean_ctor_set(x_189, 7, x_182);
lean_ctor_set(x_189, 8, x_183);
x_190 = lean_st_ref_set(x_9, x_189);
lean_dec(x_9);
x_191 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6___redArg(x_153);
return x_191;
}
}
else
{
x_69 = x_153;
x_70 = lean_box(0);
x_71 = x_155;
x_72 = x_156;
x_73 = x_157;
x_74 = x_158;
goto block_78;
}
}
else
{
x_69 = x_153;
x_70 = lean_box(0);
x_71 = x_155;
x_72 = x_156;
x_73 = x_157;
x_74 = x_158;
goto block_78;
}
}
block_202:
{
double x_200; uint8_t x_201; 
x_200 = lean_float_sub(x_196, x_195);
x_201 = lean_float_decLt(x_199, x_200);
x_153 = x_193;
x_154 = lean_box(0);
x_155 = x_195;
x_156 = x_196;
x_157 = x_197;
x_158 = x_198;
x_159 = x_201;
goto block_192;
}
block_221:
{
lean_object* x_208; double x_209; double x_210; lean_object* x_211; uint8_t x_212; 
x_208 = lean_io_get_num_heartbeats();
x_209 = lean_float_of_nat(x_204);
x_210 = lean_float_of_nat(x_208);
x_211 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__4;
x_212 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__3(x_11, x_211);
if (x_212 == 0)
{
x_153 = x_206;
x_154 = lean_box(0);
x_155 = x_209;
x_156 = x_210;
x_157 = x_205;
x_158 = x_212;
x_159 = x_212;
goto block_192;
}
else
{
if (x_203 == 0)
{
lean_object* x_213; lean_object* x_214; double x_215; double x_216; double x_217; 
x_213 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__5;
x_214 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__7(x_11, x_213);
x_215 = lean_float_of_nat(x_214);
x_216 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__6;
x_217 = lean_float_div(x_215, x_216);
x_193 = x_206;
x_194 = lean_box(0);
x_195 = x_209;
x_196 = x_210;
x_197 = x_205;
x_198 = x_212;
x_199 = x_217;
goto block_202;
}
else
{
lean_object* x_218; lean_object* x_219; double x_220; 
x_218 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__5;
x_219 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__7(x_11, x_218);
x_220 = lean_float_of_nat(x_219);
x_193 = x_206;
x_194 = lean_box(0);
x_195 = x_209;
x_196 = x_210;
x_197 = x_205;
x_198 = x_212;
x_199 = x_220;
goto block_202;
}
}
}
block_242:
{
lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; 
x_222 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg(x_9);
x_223 = lean_ctor_get(x_222, 0);
lean_inc(x_223);
lean_dec_ref(x_222);
x_224 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__7;
x_225 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__3(x_11, x_224);
if (x_225 == 0)
{
lean_object* x_226; lean_object* x_227; 
x_226 = lean_io_mono_nanos_now();
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_6);
x_227 = lean_apply_5(x_3, x_6, x_7, x_8, x_9, lean_box(0));
if (lean_obj_tag(x_227) == 0)
{
uint8_t x_228; 
x_228 = !lean_is_exclusive(x_227);
if (x_228 == 0)
{
lean_ctor_set_tag(x_227, 1);
x_131 = x_225;
x_132 = x_226;
x_133 = x_223;
x_134 = x_227;
x_135 = lean_box(0);
goto block_152;
}
else
{
lean_object* x_229; lean_object* x_230; 
x_229 = lean_ctor_get(x_227, 0);
lean_inc(x_229);
lean_dec(x_227);
x_230 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_230, 0, x_229);
x_131 = x_225;
x_132 = x_226;
x_133 = x_223;
x_134 = x_230;
x_135 = lean_box(0);
goto block_152;
}
}
else
{
uint8_t x_231; 
x_231 = !lean_is_exclusive(x_227);
if (x_231 == 0)
{
lean_ctor_set_tag(x_227, 0);
x_131 = x_225;
x_132 = x_226;
x_133 = x_223;
x_134 = x_227;
x_135 = lean_box(0);
goto block_152;
}
else
{
lean_object* x_232; lean_object* x_233; 
x_232 = lean_ctor_get(x_227, 0);
lean_inc(x_232);
lean_dec(x_227);
x_233 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_233, 0, x_232);
x_131 = x_225;
x_132 = x_226;
x_133 = x_223;
x_134 = x_233;
x_135 = lean_box(0);
goto block_152;
}
}
}
else
{
lean_object* x_234; lean_object* x_235; 
x_234 = lean_io_get_num_heartbeats();
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_6);
x_235 = lean_apply_5(x_3, x_6, x_7, x_8, x_9, lean_box(0));
if (lean_obj_tag(x_235) == 0)
{
uint8_t x_236; 
x_236 = !lean_is_exclusive(x_235);
if (x_236 == 0)
{
lean_ctor_set_tag(x_235, 1);
x_203 = x_225;
x_204 = x_234;
x_205 = x_223;
x_206 = x_235;
x_207 = lean_box(0);
goto block_221;
}
else
{
lean_object* x_237; lean_object* x_238; 
x_237 = lean_ctor_get(x_235, 0);
lean_inc(x_237);
lean_dec(x_235);
x_238 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_238, 0, x_237);
x_203 = x_225;
x_204 = x_234;
x_205 = x_223;
x_206 = x_238;
x_207 = lean_box(0);
goto block_221;
}
}
else
{
uint8_t x_239; 
x_239 = !lean_is_exclusive(x_235);
if (x_239 == 0)
{
lean_ctor_set_tag(x_235, 0);
x_203 = x_225;
x_204 = x_234;
x_205 = x_223;
x_206 = x_235;
x_207 = lean_box(0);
goto block_221;
}
else
{
lean_object* x_240; lean_object* x_241; 
x_240 = lean_ctor_get(x_235, 0);
lean_inc(x_240);
lean_dec(x_235);
x_241 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_241, 0, x_240);
x_203 = x_225;
x_204 = x_234;
x_205 = x_223;
x_206 = x_241;
x_207 = lean_box(0);
goto block_221;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_12; 
x_12 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
return x_12;
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; 
x_8 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6___redArg(x_2);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBelow_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 
x_12 = lean_unsigned_to_nat(1u);
x_13 = lean_nat_add(x_6, x_12);
lean_dec(x_6);
lean_inc(x_13);
lean_inc(x_1);
x_14 = lean_name_append_index_after(x_1, x_13);
lean_inc(x_13);
lean_inc(x_2);
x_15 = lean_name_append_index_after(x_2, x_13);
lean_inc(x_10);
lean_inc_ref(x_9);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_3);
x_16 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec(x_14, x_3, x_15, x_7, x_8, x_9, x_10);
if (lean_obj_tag(x_16) == 0)
{
uint8_t x_17; 
x_17 = !lean_is_exclusive(x_16);
if (x_17 == 0)
{
lean_object* x_18; uint8_t x_19; 
x_18 = lean_ctor_get(x_16, 0);
lean_dec(x_18);
x_19 = lean_nat_dec_lt(x_13, x_5);
if (x_19 == 0)
{
lean_dec(x_13);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
lean_ctor_set(x_16, 0, x_4);
return x_16;
}
else
{
lean_free_object(x_16);
x_6 = x_13;
goto _start;
}
}
else
{
uint8_t x_21; 
lean_dec(x_16);
x_21 = lean_nat_dec_lt(x_13, x_5);
if (x_21 == 0)
{
lean_object* x_22; 
lean_dec(x_13);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_22 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_22, 0, x_4);
return x_22;
}
else
{
x_6 = x_13;
goto _start;
}
}
}
else
{
lean_dec(x_13);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_16;
}
}
}
LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBelow_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) {
_start:
{
lean_object* x_19; 
x_19 = l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBelow_spec__0___redArg(x_1, x_2, x_3, x_4, x_8, x_11, x_14, x_15, x_16, x_17);
return x_19;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
_start:
{
lean_object* x_6; 
x_6 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg(x_4);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_mkBelow___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; lean_object* x_9; 
x_8 = l_Lean_MessageData_ofName(x_1);
x_9 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_9, 0, x_8);
return x_9;
}
}
LEAN_EXPORT lean_object* l_Lean_mkBelow___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; 
lean_inc_ref(x_5);
lean_inc(x_1);
x_8 = l_Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0(x_1, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_8) == 0)
{
uint8_t x_9; 
x_9 = !lean_is_exclusive(x_8);
if (x_9 == 0)
{
lean_object* x_10; 
x_10 = lean_ctor_get(x_8, 0);
if (lean_obj_tag(x_10) == 5)
{
lean_object* x_11; uint8_t x_12; 
x_11 = lean_ctor_get(x_10, 0);
lean_inc_ref(x_11);
lean_dec_ref(x_10);
x_12 = lean_ctor_get_uint8(x_11, sizeof(void*)*6);
if (x_12 == 0)
{
lean_object* x_13; 
lean_dec_ref(x_11);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_13 = lean_box(0);
lean_ctor_set(x_8, 0, x_13);
return x_8;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
lean_free_object(x_8);
x_14 = lean_ctor_get(x_11, 0);
lean_inc_ref(x_14);
x_15 = lean_ctor_get(x_11, 1);
lean_inc(x_15);
x_16 = lean_ctor_get(x_11, 3);
lean_inc(x_16);
x_17 = lean_ctor_get(x_11, 5);
lean_inc(x_17);
lean_dec_ref(x_11);
x_18 = lean_ctor_get(x_14, 2);
lean_inc_ref(x_18);
lean_dec_ref(x_14);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_19 = l_Lean_Meta_isPropFormerType(x_18, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_19) == 0)
{
uint8_t x_20; 
x_20 = !lean_is_exclusive(x_19);
if (x_20 == 0)
{
lean_object* x_21; uint8_t x_22; 
x_21 = lean_ctor_get(x_19, 0);
x_22 = lean_unbox(x_21);
lean_dec(x_21);
if (x_22 == 0)
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; 
lean_free_object(x_19);
lean_inc(x_1);
x_23 = l_Lean_mkRecName(x_1);
lean_inc(x_1);
x_24 = l_Lean_mkBelowName(x_1);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_24);
lean_inc(x_15);
lean_inc(x_23);
x_25 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec(x_23, x_15, x_24, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_25) == 0)
{
uint8_t x_26; 
x_26 = !lean_is_exclusive(x_25);
if (x_26 == 0)
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; 
x_27 = lean_ctor_get(x_25, 0);
lean_dec(x_27);
x_28 = lean_unsigned_to_nat(0u);
x_29 = l_List_get_x21Internal___redArg(x_2, x_16, x_28);
lean_dec(x_16);
x_30 = lean_name_eq(x_29, x_1);
lean_dec(x_1);
lean_dec(x_29);
if (x_30 == 0)
{
lean_object* x_31; 
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_17);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_31 = lean_box(0);
lean_ctor_set(x_25, 0, x_31);
return x_25;
}
else
{
lean_object* x_32; uint8_t x_33; 
x_32 = lean_box(0);
x_33 = lean_nat_dec_lt(x_28, x_17);
if (x_33 == 0)
{
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_17);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_ctor_set(x_25, 0, x_32);
return x_25;
}
else
{
lean_object* x_34; 
lean_free_object(x_25);
x_34 = l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBelow_spec__0___redArg(x_23, x_24, x_15, x_32, x_17, x_28, x_3, x_4, x_5, x_6);
lean_dec(x_17);
if (lean_obj_tag(x_34) == 0)
{
uint8_t x_35; 
x_35 = !lean_is_exclusive(x_34);
if (x_35 == 0)
{
lean_object* x_36; 
x_36 = lean_ctor_get(x_34, 0);
lean_dec(x_36);
lean_ctor_set(x_34, 0, x_32);
return x_34;
}
else
{
lean_object* x_37; 
lean_dec(x_34);
x_37 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_37, 0, x_32);
return x_37;
}
}
else
{
return x_34;
}
}
}
}
else
{
lean_object* x_38; lean_object* x_39; uint8_t x_40; 
lean_dec(x_25);
x_38 = lean_unsigned_to_nat(0u);
x_39 = l_List_get_x21Internal___redArg(x_2, x_16, x_38);
lean_dec(x_16);
x_40 = lean_name_eq(x_39, x_1);
lean_dec(x_1);
lean_dec(x_39);
if (x_40 == 0)
{
lean_object* x_41; lean_object* x_42; 
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_17);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_41 = lean_box(0);
x_42 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_42, 0, x_41);
return x_42;
}
else
{
lean_object* x_43; uint8_t x_44; 
x_43 = lean_box(0);
x_44 = lean_nat_dec_lt(x_38, x_17);
if (x_44 == 0)
{
lean_object* x_45; 
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_17);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_45 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_45, 0, x_43);
return x_45;
}
else
{
lean_object* x_46; 
x_46 = l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBelow_spec__0___redArg(x_23, x_24, x_15, x_43, x_17, x_38, x_3, x_4, x_5, x_6);
lean_dec(x_17);
if (lean_obj_tag(x_46) == 0)
{
lean_object* x_47; lean_object* x_48; 
if (lean_is_exclusive(x_46)) {
 lean_ctor_release(x_46, 0);
 x_47 = x_46;
} else {
 lean_dec_ref(x_46);
 x_47 = lean_box(0);
}
if (lean_is_scalar(x_47)) {
 x_48 = lean_alloc_ctor(0, 1, 0);
} else {
 x_48 = x_47;
}
lean_ctor_set(x_48, 0, x_43);
return x_48;
}
else
{
return x_46;
}
}
}
}
}
else
{
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_25;
}
}
else
{
lean_object* x_49; 
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_49 = lean_box(0);
lean_ctor_set(x_19, 0, x_49);
return x_19;
}
}
else
{
lean_object* x_50; uint8_t x_51; 
x_50 = lean_ctor_get(x_19, 0);
lean_inc(x_50);
lean_dec(x_19);
x_51 = lean_unbox(x_50);
lean_dec(x_50);
if (x_51 == 0)
{
lean_object* x_52; lean_object* x_53; lean_object* x_54; 
lean_inc(x_1);
x_52 = l_Lean_mkRecName(x_1);
lean_inc(x_1);
x_53 = l_Lean_mkBelowName(x_1);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_53);
lean_inc(x_15);
lean_inc(x_52);
x_54 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec(x_52, x_15, x_53, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_54) == 0)
{
lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; 
if (lean_is_exclusive(x_54)) {
 lean_ctor_release(x_54, 0);
 x_55 = x_54;
} else {
 lean_dec_ref(x_54);
 x_55 = lean_box(0);
}
x_56 = lean_unsigned_to_nat(0u);
x_57 = l_List_get_x21Internal___redArg(x_2, x_16, x_56);
lean_dec(x_16);
x_58 = lean_name_eq(x_57, x_1);
lean_dec(x_1);
lean_dec(x_57);
if (x_58 == 0)
{
lean_object* x_59; lean_object* x_60; 
lean_dec(x_53);
lean_dec(x_52);
lean_dec(x_17);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_59 = lean_box(0);
if (lean_is_scalar(x_55)) {
 x_60 = lean_alloc_ctor(0, 1, 0);
} else {
 x_60 = x_55;
}
lean_ctor_set(x_60, 0, x_59);
return x_60;
}
else
{
lean_object* x_61; uint8_t x_62; 
x_61 = lean_box(0);
x_62 = lean_nat_dec_lt(x_56, x_17);
if (x_62 == 0)
{
lean_object* x_63; 
lean_dec(x_53);
lean_dec(x_52);
lean_dec(x_17);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
if (lean_is_scalar(x_55)) {
 x_63 = lean_alloc_ctor(0, 1, 0);
} else {
 x_63 = x_55;
}
lean_ctor_set(x_63, 0, x_61);
return x_63;
}
else
{
lean_object* x_64; 
lean_dec(x_55);
x_64 = l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBelow_spec__0___redArg(x_52, x_53, x_15, x_61, x_17, x_56, x_3, x_4, x_5, x_6);
lean_dec(x_17);
if (lean_obj_tag(x_64) == 0)
{
lean_object* x_65; lean_object* x_66; 
if (lean_is_exclusive(x_64)) {
 lean_ctor_release(x_64, 0);
 x_65 = x_64;
} else {
 lean_dec_ref(x_64);
 x_65 = lean_box(0);
}
if (lean_is_scalar(x_65)) {
 x_66 = lean_alloc_ctor(0, 1, 0);
} else {
 x_66 = x_65;
}
lean_ctor_set(x_66, 0, x_61);
return x_66;
}
else
{
return x_64;
}
}
}
}
else
{
lean_dec(x_53);
lean_dec(x_52);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_54;
}
}
else
{
lean_object* x_67; lean_object* x_68; 
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_67 = lean_box(0);
x_68 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_68, 0, x_67);
return x_68;
}
}
}
else
{
uint8_t x_69; 
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_69 = !lean_is_exclusive(x_19);
if (x_69 == 0)
{
return x_19;
}
else
{
lean_object* x_70; lean_object* x_71; 
x_70 = lean_ctor_get(x_19, 0);
lean_inc(x_70);
lean_dec(x_19);
x_71 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_71, 0, x_70);
return x_71;
}
}
}
}
else
{
lean_object* x_72; 
lean_dec(x_10);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_72 = lean_box(0);
lean_ctor_set(x_8, 0, x_72);
return x_8;
}
}
else
{
lean_object* x_73; 
x_73 = lean_ctor_get(x_8, 0);
lean_inc(x_73);
lean_dec(x_8);
if (lean_obj_tag(x_73) == 5)
{
lean_object* x_74; uint8_t x_75; 
x_74 = lean_ctor_get(x_73, 0);
lean_inc_ref(x_74);
lean_dec_ref(x_73);
x_75 = lean_ctor_get_uint8(x_74, sizeof(void*)*6);
if (x_75 == 0)
{
lean_object* x_76; lean_object* x_77; 
lean_dec_ref(x_74);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_76 = lean_box(0);
x_77 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_77, 0, x_76);
return x_77;
}
else
{
lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; 
x_78 = lean_ctor_get(x_74, 0);
lean_inc_ref(x_78);
x_79 = lean_ctor_get(x_74, 1);
lean_inc(x_79);
x_80 = lean_ctor_get(x_74, 3);
lean_inc(x_80);
x_81 = lean_ctor_get(x_74, 5);
lean_inc(x_81);
lean_dec_ref(x_74);
x_82 = lean_ctor_get(x_78, 2);
lean_inc_ref(x_82);
lean_dec_ref(x_78);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_83 = l_Lean_Meta_isPropFormerType(x_82, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_83) == 0)
{
lean_object* x_84; lean_object* x_85; uint8_t x_86; 
x_84 = lean_ctor_get(x_83, 0);
lean_inc(x_84);
if (lean_is_exclusive(x_83)) {
 lean_ctor_release(x_83, 0);
 x_85 = x_83;
} else {
 lean_dec_ref(x_83);
 x_85 = lean_box(0);
}
x_86 = lean_unbox(x_84);
lean_dec(x_84);
if (x_86 == 0)
{
lean_object* x_87; lean_object* x_88; lean_object* x_89; 
lean_dec(x_85);
lean_inc(x_1);
x_87 = l_Lean_mkRecName(x_1);
lean_inc(x_1);
x_88 = l_Lean_mkBelowName(x_1);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_88);
lean_inc(x_79);
lean_inc(x_87);
x_89 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec(x_87, x_79, x_88, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_89) == 0)
{
lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; 
if (lean_is_exclusive(x_89)) {
 lean_ctor_release(x_89, 0);
 x_90 = x_89;
} else {
 lean_dec_ref(x_89);
 x_90 = lean_box(0);
}
x_91 = lean_unsigned_to_nat(0u);
x_92 = l_List_get_x21Internal___redArg(x_2, x_80, x_91);
lean_dec(x_80);
x_93 = lean_name_eq(x_92, x_1);
lean_dec(x_1);
lean_dec(x_92);
if (x_93 == 0)
{
lean_object* x_94; lean_object* x_95; 
lean_dec(x_88);
lean_dec(x_87);
lean_dec(x_81);
lean_dec(x_79);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_94 = lean_box(0);
if (lean_is_scalar(x_90)) {
 x_95 = lean_alloc_ctor(0, 1, 0);
} else {
 x_95 = x_90;
}
lean_ctor_set(x_95, 0, x_94);
return x_95;
}
else
{
lean_object* x_96; uint8_t x_97; 
x_96 = lean_box(0);
x_97 = lean_nat_dec_lt(x_91, x_81);
if (x_97 == 0)
{
lean_object* x_98; 
lean_dec(x_88);
lean_dec(x_87);
lean_dec(x_81);
lean_dec(x_79);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
if (lean_is_scalar(x_90)) {
 x_98 = lean_alloc_ctor(0, 1, 0);
} else {
 x_98 = x_90;
}
lean_ctor_set(x_98, 0, x_96);
return x_98;
}
else
{
lean_object* x_99; 
lean_dec(x_90);
x_99 = l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBelow_spec__0___redArg(x_87, x_88, x_79, x_96, x_81, x_91, x_3, x_4, x_5, x_6);
lean_dec(x_81);
if (lean_obj_tag(x_99) == 0)
{
lean_object* x_100; lean_object* x_101; 
if (lean_is_exclusive(x_99)) {
 lean_ctor_release(x_99, 0);
 x_100 = x_99;
} else {
 lean_dec_ref(x_99);
 x_100 = lean_box(0);
}
if (lean_is_scalar(x_100)) {
 x_101 = lean_alloc_ctor(0, 1, 0);
} else {
 x_101 = x_100;
}
lean_ctor_set(x_101, 0, x_96);
return x_101;
}
else
{
return x_99;
}
}
}
}
else
{
lean_dec(x_88);
lean_dec(x_87);
lean_dec(x_81);
lean_dec(x_80);
lean_dec(x_79);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_89;
}
}
else
{
lean_object* x_102; lean_object* x_103; 
lean_dec(x_81);
lean_dec(x_80);
lean_dec(x_79);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_102 = lean_box(0);
if (lean_is_scalar(x_85)) {
 x_103 = lean_alloc_ctor(0, 1, 0);
} else {
 x_103 = x_85;
}
lean_ctor_set(x_103, 0, x_102);
return x_103;
}
}
else
{
lean_object* x_104; lean_object* x_105; lean_object* x_106; 
lean_dec(x_81);
lean_dec(x_80);
lean_dec(x_79);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_104 = lean_ctor_get(x_83, 0);
lean_inc(x_104);
if (lean_is_exclusive(x_83)) {
 lean_ctor_release(x_83, 0);
 x_105 = x_83;
} else {
 lean_dec_ref(x_83);
 x_105 = lean_box(0);
}
if (lean_is_scalar(x_105)) {
 x_106 = lean_alloc_ctor(1, 1, 0);
} else {
 x_106 = x_105;
}
lean_ctor_set(x_106, 0, x_104);
return x_106;
}
}
}
else
{
lean_object* x_107; lean_object* x_108; 
lean_dec(x_73);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_107 = lean_box(0);
x_108 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_108, 0, x_107);
return x_108;
}
}
}
else
{
uint8_t x_109; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_109 = !lean_is_exclusive(x_8);
if (x_109 == 0)
{
return x_8;
}
else
{
lean_object* x_110; lean_object* x_111; 
x_110 = lean_ctor_get(x_8, 0);
lean_inc(x_110);
lean_dec(x_8);
x_111 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_111, 0, x_110);
return x_111;
}
}
}
}
static lean_object* _init_l_Lean_mkBelow___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Meta", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_mkBelow___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("mkBelow", 7, 7);
return x_1;
}
}
static lean_object* _init_l_Lean_mkBelow___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_mkBelow___closed__1;
x_2 = l_Lean_mkBelow___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l_Lean_mkBelow___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("", 0, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l_Lean_mkBelow___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_mkBelow___lam__0(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_mkBelow___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_mkBelow___lam__1(x_1, x_2, x_3, x_4, x_5, x_6);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_mkBelow(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; 
lean_inc(x_1);
x_7 = lean_alloc_closure((void*)(l_Lean_mkBelow___lam__0___boxed), 7, 1);
lean_closure_set(x_7, 0, x_1);
x_8 = lean_box(0);
x_9 = lean_alloc_closure((void*)(l_Lean_mkBelow___lam__1___boxed), 7, 2);
lean_closure_set(x_9, 0, x_1);
lean_closure_set(x_9, 1, x_8);
x_10 = l_Lean_mkBelow___closed__2;
x_11 = 1;
x_12 = l_Lean_mkBelow___closed__3;
x_13 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg(x_10, x_7, x_9, x_11, x_12, x_2, x_3, x_4, x_5);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_isTracingEnabledFor___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; lean_object* x_13; 
x_12 = lean_unbox(x_5);
x_13 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10);
return x_13;
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBelow_spec__0___boxed(lean_object** _args) {
lean_object* x_1 = _args[0];
lean_object* x_2 = _args[1];
lean_object* x_3 = _args[2];
lean_object* x_4 = _args[3];
lean_object* x_5 = _args[4];
lean_object* x_6 = _args[5];
lean_object* x_7 = _args[6];
lean_object* x_8 = _args[7];
lean_object* x_9 = _args[8];
lean_object* x_10 = _args[9];
lean_object* x_11 = _args[10];
lean_object* x_12 = _args[11];
lean_object* x_13 = _args[12];
lean_object* x_14 = _args[13];
lean_object* x_15 = _args[14];
lean_object* x_16 = _args[15];
lean_object* x_17 = _args[16];
lean_object* x_18 = _args[17];
_start:
{
lean_object* x_19; 
x_19 = l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBelow_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17);
lean_dec(x_9);
lean_dec(x_8);
return x_19;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_6; 
x_6 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2(x_1, x_2, x_3, x_4);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec_ref(x_1);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_isTracingEnabledFor___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__1___redArg(x_1, x_2);
lean_dec_ref(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__6___redArg(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__3___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_3; lean_object* x_4; 
x_3 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__3(x_1, x_2);
lean_dec_ref(x_2);
lean_dec(x_1);
x_4 = lean_box(x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__7___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__7(x_1, x_2);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__4_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__4_spec__4(x_4, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBelow_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_12; 
x_12 = l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBelow_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
lean_dec(x_5);
return x_12;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg(x_1);
lean_dec(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_10; 
x_10 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
lean_dec(x_8);
lean_dec(x_6);
lean_dec_ref(x_5);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Lean_mkBelow___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_mkBelow(x_1, x_2, x_3, x_4, x_5);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
uint8_t x_11; lean_object* x_12; 
x_11 = lean_unbox(x_4);
x_12 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Array_idxOfAux___at___00Array_finIdxOf_x3f___at___00Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; uint8_t x_5; 
x_4 = lean_array_get_size(x_1);
x_5 = lean_nat_dec_lt(x_3, x_4);
lean_dec(x_4);
if (x_5 == 0)
{
lean_object* x_6; 
lean_dec(x_3);
x_6 = lean_box(0);
return x_6;
}
else
{
lean_object* x_7; uint8_t x_8; 
x_7 = lean_array_fget_borrowed(x_1, x_3);
x_8 = lean_expr_eqv(x_7, x_2);
if (x_8 == 0)
{
lean_object* x_9; lean_object* x_10; 
x_9 = lean_unsigned_to_nat(1u);
x_10 = lean_nat_add(x_3, x_9);
lean_dec(x_3);
x_3 = x_10;
goto _start;
}
else
{
lean_object* x_12; 
x_12 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_12, 0, x_3);
return x_12;
}
}
}
}
LEAN_EXPORT lean_object* l_Array_finIdxOf_x3f___at___00Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; lean_object* x_4; 
x_3 = lean_unsigned_to_nat(0u);
x_4 = l_Array_idxOfAux___at___00Array_finIdxOf_x3f___at___00Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0_spec__0_spec__0(x_1, x_2, x_3);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Array_finIdxOf_x3f___at___00Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0_spec__0(x_1, x_2);
if (lean_obj_tag(x_3) == 0)
{
lean_object* x_4; 
x_4 = lean_box(0);
return x_4;
}
else
{
uint8_t x_5; 
x_5 = !lean_is_exclusive(x_3);
if (x_5 == 0)
{
return x_3;
}
else
{
lean_object* x_6; lean_object* x_7; 
x_6 = lean_ctor_get(x_3, 0);
lean_inc(x_6);
lean_dec(x_3);
x_7 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_7, 0, x_6);
return x_7;
}
}
}
}
LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__3(lean_object* x_1, lean_object* x_2) {
_start:
{
if (lean_obj_tag(x_1) == 0)
{
lean_object* x_3; 
x_3 = l_List_reverse___redArg(x_2);
return x_3;
}
else
{
uint8_t x_4; 
x_4 = !lean_is_exclusive(x_1);
if (x_4 == 0)
{
lean_object* x_5; lean_object* x_6; lean_object* x_7; 
x_5 = lean_ctor_get(x_1, 0);
x_6 = lean_ctor_get(x_1, 1);
x_7 = l_Lean_MessageData_ofExpr(x_5);
lean_ctor_set(x_1, 1, x_2);
lean_ctor_set(x_1, 0, x_7);
{
lean_object* _tmp_0 = x_6;
lean_object* _tmp_1 = x_1;
x_1 = _tmp_0;
x_2 = _tmp_1;
}
goto _start;
}
else
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; 
x_9 = lean_ctor_get(x_1, 0);
x_10 = lean_ctor_get(x_1, 1);
lean_inc(x_10);
lean_inc(x_9);
lean_dec(x_1);
x_11 = l_Lean_MessageData_ofExpr(x_9);
x_12 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_12, 0, x_11);
lean_ctor_set(x_12, 1, x_2);
x_1 = x_10;
x_2 = x_12;
goto _start;
}
}
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go___lam__0___closed__0() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_box(0);
x_2 = l_Lean_Expr_sort___override(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Did not find ", 13, 13);
return x_1;
}
}
static lean_object* _init_l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__0;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" in ", 4, 4);
return x_1;
}
}
static lean_object* _init_l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__2;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
if (lean_obj_tag(x_7) == 5)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
x_15 = lean_ctor_get(x_7, 0);
lean_inc_ref(x_15);
x_16 = lean_ctor_get(x_7, 1);
lean_inc_ref(x_16);
lean_dec_ref(x_7);
x_17 = lean_array_set(x_8, x_9, x_16);
x_18 = lean_unsigned_to_nat(1u);
x_19 = lean_nat_sub(x_9, x_18);
lean_dec(x_9);
x_7 = x_15;
x_8 = x_17;
x_9 = x_19;
goto _start;
}
else
{
lean_object* x_21; 
lean_dec(x_9);
lean_inc(x_13);
lean_inc_ref(x_12);
lean_inc(x_11);
lean_inc_ref(x_10);
x_21 = l_Lean_Meta_PProdN_mk(x_1, x_2, x_10, x_11, x_12, x_13);
if (lean_obj_tag(x_21) == 0)
{
lean_object* x_22; lean_object* x_23; 
x_22 = lean_ctor_get(x_21, 0);
lean_inc(x_22);
lean_dec_ref(x_21);
x_23 = l_Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0(x_3, x_7);
lean_dec_ref(x_7);
if (lean_obj_tag(x_23) == 1)
{
lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; 
lean_dec_ref(x_6);
lean_dec_ref(x_3);
x_24 = lean_ctor_get(x_23, 0);
lean_inc(x_24);
lean_dec_ref(x_23);
x_25 = lean_array_get_borrowed(x_4, x_5, x_24);
lean_dec(x_24);
lean_inc(x_22);
x_26 = lean_array_push(x_8, x_22);
lean_inc(x_25);
x_27 = l_Lean_mkAppN(x_25, x_26);
lean_dec_ref(x_26);
x_28 = l_Lean_Meta_mkPProdMk(x_27, x_22, x_10, x_11, x_12, x_13);
return x_28;
}
else
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 
lean_dec(x_23);
lean_dec(x_22);
lean_dec_ref(x_8);
lean_dec_ref(x_4);
x_29 = l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__1;
x_30 = l_Lean_MessageData_ofExpr(x_6);
x_31 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_31, 0, x_29);
lean_ctor_set(x_31, 1, x_30);
x_32 = l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__3;
x_33 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_33, 0, x_31);
lean_ctor_set(x_33, 1, x_32);
x_34 = lean_array_to_list(x_3);
x_35 = lean_box(0);
x_36 = l_List_mapTR_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__3(x_34, x_35);
x_37 = l_Lean_MessageData_ofList(x_36);
x_38 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_38, 0, x_33);
lean_ctor_set(x_38, 1, x_37);
x_39 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(x_38, x_10, x_11, x_12, x_13);
lean_dec(x_13);
lean_dec_ref(x_12);
lean_dec(x_11);
lean_dec_ref(x_10);
return x_39;
}
}
else
{
lean_dec(x_13);
lean_dec_ref(x_12);
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec_ref(x_8);
lean_dec_ref(x_7);
lean_dec_ref(x_6);
lean_dec_ref(x_4);
lean_dec_ref(x_3);
return x_21;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
_start:
{
lean_object* x_17; 
x_17 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15);
lean_dec_ref(x_10);
return x_17;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_13; 
x_13 = l_Lean_instInhabitedExpr;
if (lean_obj_tag(x_7) == 0)
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
lean_dec_ref(x_3);
x_14 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go___lam__0___closed__0;
x_15 = l_Lean_Expr_getAppNumArgs(x_5);
lean_inc(x_15);
x_16 = lean_mk_array(x_15, x_14);
x_17 = lean_unsigned_to_nat(1u);
x_18 = lean_nat_sub(x_15, x_17);
lean_dec(x_15);
lean_inc_ref(x_5);
x_19 = l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4(x_1, x_6, x_2, x_13, x_4, x_5, x_5, x_16, x_18, x_8, x_9, x_10, x_11);
lean_dec_ref(x_4);
return x_19;
}
else
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_20 = lean_ctor_get(x_7, 0);
lean_inc(x_20);
x_21 = lean_ctor_get(x_7, 1);
lean_inc(x_21);
lean_dec_ref(x_7);
lean_inc(x_11);
lean_inc_ref(x_10);
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_20);
x_22 = lean_infer_type(x_20, x_8, x_9, x_10, x_11);
if (lean_obj_tag(x_22) == 0)
{
lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; 
x_23 = lean_ctor_get(x_22, 0);
lean_inc(x_23);
lean_dec_ref(x_22);
x_24 = lean_alloc_closure((void*)(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go___lam__0___boxed), 16, 9);
lean_closure_set(x_24, 0, x_2);
lean_closure_set(x_24, 1, x_20);
lean_closure_set(x_24, 2, x_13);
lean_closure_set(x_24, 3, x_3);
lean_closure_set(x_24, 4, x_6);
lean_closure_set(x_24, 5, x_1);
lean_closure_set(x_24, 6, x_4);
lean_closure_set(x_24, 7, x_5);
lean_closure_set(x_24, 8, x_21);
x_25 = 0;
x_26 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_23, x_24, x_25, x_8, x_9, x_10, x_11);
return x_26;
}
else
{
lean_dec(x_21);
lean_dec(x_20);
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec_ref(x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_22;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__5___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, uint8_t x_9, uint8_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
lean_object* x_17; lean_object* x_18; 
lean_inc_ref(x_11);
x_17 = lean_array_push(x_1, x_11);
lean_inc(x_15);
lean_inc_ref(x_14);
lean_inc(x_13);
lean_inc_ref(x_12);
x_18 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go(x_2, x_3, x_4, x_5, x_6, x_17, x_7, x_12, x_13, x_14, x_15);
if (lean_obj_tag(x_18) == 0)
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_19 = lean_ctor_get(x_18, 0);
lean_inc(x_19);
lean_dec_ref(x_18);
x_20 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__1___closed__0;
x_21 = lean_array_push(x_20, x_11);
x_22 = l_Lean_Meta_mkLambdaFVars(x_21, x_19, x_8, x_9, x_8, x_9, x_10, x_12, x_13, x_14, x_15);
lean_dec(x_15);
lean_dec_ref(x_14);
lean_dec(x_13);
lean_dec_ref(x_12);
lean_dec_ref(x_21);
return x_22;
}
else
{
lean_dec(x_15);
lean_dec_ref(x_14);
lean_dec(x_13);
lean_dec_ref(x_12);
lean_dec_ref(x_11);
return x_18;
}
}
}
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__5___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) {
_start:
{
uint8_t x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; 
x_17 = lean_unbox(x_8);
x_18 = lean_unbox(x_9);
x_19 = lean_unbox(x_10);
x_20 = l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__5___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_17, x_18, x_19, x_11, x_12, x_13, x_14, x_15);
return x_20;
}
}
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) {
_start:
{
if (lean_obj_tag(x_12) == 5)
{
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; 
x_20 = lean_ctor_get(x_12, 0);
lean_inc_ref(x_20);
x_21 = lean_ctor_get(x_12, 1);
lean_inc_ref(x_21);
lean_dec_ref(x_12);
x_22 = lean_array_set(x_13, x_14, x_21);
x_23 = lean_unsigned_to_nat(1u);
x_24 = lean_nat_sub(x_14, x_23);
lean_dec(x_14);
x_12 = x_20;
x_13 = x_22;
x_14 = x_24;
goto _start;
}
else
{
lean_object* x_26; 
lean_dec(x_14);
x_26 = l_Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0(x_1, x_12);
lean_dec_ref(x_12);
if (lean_obj_tag(x_26) == 1)
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; 
x_27 = lean_ctor_get(x_26, 0);
lean_inc(x_27);
lean_dec_ref(x_26);
x_28 = l_Lean_Expr_fvarId_x21(x_2);
lean_dec_ref(x_2);
lean_inc_ref(x_15);
x_29 = l_Lean_FVarId_getUserName___redArg(x_28, x_15, x_17, x_18);
if (lean_obj_tag(x_29) == 0)
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 
x_30 = lean_ctor_get(x_29, 0);
lean_inc(x_30);
lean_dec_ref(x_29);
x_31 = lean_array_get_borrowed(x_3, x_4, x_27);
lean_dec(x_27);
lean_inc(x_31);
x_32 = l_Lean_mkAppN(x_31, x_13);
lean_dec_ref(x_13);
lean_inc(x_18);
lean_inc_ref(x_17);
lean_inc(x_16);
lean_inc_ref(x_15);
x_33 = l_Lean_Meta_mkPProd(x_5, x_32, x_15, x_16, x_17, x_18);
if (lean_obj_tag(x_33) == 0)
{
lean_object* x_34; uint8_t x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; 
x_34 = lean_ctor_get(x_33, 0);
lean_inc(x_34);
lean_dec_ref(x_33);
x_35 = 0;
x_36 = 1;
x_37 = 1;
x_38 = l_Lean_Meta_mkForallFVars(x_11, x_34, x_35, x_36, x_36, x_37, x_15, x_16, x_17, x_18);
if (lean_obj_tag(x_38) == 0)
{
lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; 
x_39 = lean_ctor_get(x_38, 0);
lean_inc(x_39);
lean_dec_ref(x_38);
x_40 = lean_box(x_35);
x_41 = lean_box(x_36);
x_42 = lean_box(x_37);
x_43 = lean_alloc_closure((void*)(l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__5___lam__0___boxed), 16, 10);
lean_closure_set(x_43, 0, x_6);
lean_closure_set(x_43, 1, x_7);
lean_closure_set(x_43, 2, x_1);
lean_closure_set(x_43, 3, x_4);
lean_closure_set(x_43, 4, x_8);
lean_closure_set(x_43, 5, x_9);
lean_closure_set(x_43, 6, x_10);
lean_closure_set(x_43, 7, x_40);
lean_closure_set(x_43, 8, x_41);
lean_closure_set(x_43, 9, x_42);
x_44 = l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3___redArg(x_30, x_39, x_43, x_15, x_16, x_17, x_18);
return x_44;
}
else
{
lean_dec(x_30);
lean_dec(x_18);
lean_dec_ref(x_17);
lean_dec(x_16);
lean_dec_ref(x_15);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec_ref(x_4);
lean_dec_ref(x_1);
return x_38;
}
}
else
{
lean_dec(x_30);
lean_dec(x_18);
lean_dec_ref(x_17);
lean_dec(x_16);
lean_dec_ref(x_15);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec_ref(x_4);
lean_dec_ref(x_1);
return x_33;
}
}
else
{
uint8_t x_45; 
lean_dec(x_27);
lean_dec(x_18);
lean_dec_ref(x_17);
lean_dec(x_16);
lean_dec_ref(x_15);
lean_dec_ref(x_13);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_1);
x_45 = !lean_is_exclusive(x_29);
if (x_45 == 0)
{
return x_29;
}
else
{
lean_object* x_46; lean_object* x_47; 
x_46 = lean_ctor_get(x_29, 0);
lean_inc(x_46);
lean_dec(x_29);
x_47 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_47, 0, x_46);
return x_47;
}
}
}
else
{
lean_object* x_48; 
lean_dec(x_26);
lean_dec_ref(x_13);
lean_dec_ref(x_5);
lean_dec_ref(x_3);
lean_inc(x_18);
lean_inc_ref(x_17);
lean_inc(x_16);
lean_inc_ref(x_15);
x_48 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go(x_7, x_1, x_4, x_8, x_9, x_6, x_10, x_15, x_16, x_17, x_18);
if (lean_obj_tag(x_48) == 0)
{
lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; uint8_t x_53; uint8_t x_54; lean_object* x_55; 
x_49 = lean_ctor_get(x_48, 0);
lean_inc(x_49);
lean_dec_ref(x_48);
x_50 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__1___closed__0;
x_51 = lean_array_push(x_50, x_2);
x_52 = 0;
x_53 = 1;
x_54 = 1;
x_55 = l_Lean_Meta_mkLambdaFVars(x_51, x_49, x_52, x_53, x_52, x_53, x_54, x_15, x_16, x_17, x_18);
lean_dec(x_18);
lean_dec_ref(x_17);
lean_dec(x_16);
lean_dec_ref(x_15);
lean_dec_ref(x_51);
return x_55;
}
else
{
lean_dec(x_18);
lean_dec_ref(x_17);
lean_dec(x_16);
lean_dec_ref(x_15);
lean_dec_ref(x_2);
return x_48;
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) {
_start:
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_17 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go___lam__0___closed__0;
x_18 = l_Lean_Expr_getAppNumArgs(x_11);
lean_inc(x_18);
x_19 = lean_mk_array(x_18, x_17);
x_20 = lean_unsigned_to_nat(1u);
x_21 = lean_nat_sub(x_18, x_20);
lean_dec(x_18);
lean_inc_ref(x_11);
x_22 = l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__5(x_1, x_2, x_3, x_4, x_11, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_19, x_21, x_12, x_13, x_14, x_15);
return x_22;
}
}
LEAN_EXPORT lean_object* l_Array_finIdxOf_x3f___at___00Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Array_finIdxOf_x3f___at___00Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0_spec__0(x_1, x_2);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_3; 
x_3 = l_Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0(x_1, x_2);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Array_idxOfAux___at___00Array_finIdxOf_x3f___at___00Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Array_idxOfAux___at___00Array_finIdxOf_x3f___at___00Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0_spec__0_spec__0(x_1, x_2, x_3);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_13; 
x_13 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) {
_start:
{
lean_object* x_15; 
x_15 = l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13);
lean_dec_ref(x_5);
return x_15;
}
}
LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__5___boxed(lean_object** _args) {
lean_object* x_1 = _args[0];
lean_object* x_2 = _args[1];
lean_object* x_3 = _args[2];
lean_object* x_4 = _args[3];
lean_object* x_5 = _args[4];
lean_object* x_6 = _args[5];
lean_object* x_7 = _args[6];
lean_object* x_8 = _args[7];
lean_object* x_9 = _args[8];
lean_object* x_10 = _args[9];
lean_object* x_11 = _args[10];
lean_object* x_12 = _args[11];
lean_object* x_13 = _args[12];
lean_object* x_14 = _args[13];
lean_object* x_15 = _args[14];
lean_object* x_16 = _args[15];
lean_object* x_17 = _args[16];
lean_object* x_18 = _args[17];
lean_object* x_19 = _args[18];
_start:
{
lean_object* x_20; 
x_20 = l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18);
lean_dec_ref(x_11);
return x_20;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_12; lean_object* x_13; lean_object* x_14; 
x_12 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise___lam__0___closed__0;
x_13 = lean_array_to_list(x_5);
x_14 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go(x_1, x_2, x_3, x_4, x_6, x_12, x_13, x_7, x_8, x_9, x_10);
return x_14;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_12; 
x_12 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
return x_12;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_11; uint8_t x_12; lean_object* x_13; 
x_11 = lean_alloc_closure((void*)(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise___lam__0___boxed), 11, 4);
lean_closure_set(x_11, 0, x_1);
lean_closure_set(x_11, 1, x_2);
lean_closure_set(x_11, 2, x_3);
lean_closure_set(x_11, 3, x_4);
x_12 = 0;
x_13 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_5, x_11, x_12, x_6, x_7, x_8, x_9);
return x_13;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_11; 
x_11 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
return x_11;
}
}
static lean_object* _init_l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = l_instMonadEST(lean_box(0), lean_box(0));
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__0;
x_2 = l_ReaderT_instMonad___redArg(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__2() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Core_instMonadCoreM___lam__0___boxed), 5, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__3() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Core_instMonadCoreM___lam__1___boxed), 7, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_instMonadMetaM___lam__0___boxed), 7, 0);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__5() {
_start:
{
lean_object* x_1; 
x_1 = lean_alloc_closure((void*)(l_Lean_Meta_instMonadMetaM___lam__1___boxed), 9, 0);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; lean_object* x_9; lean_object* x_10; 
x_8 = l_Lean_instInhabitedExpr;
x_9 = l_instInhabitedOfMonad___redArg(x_1, x_8);
x_10 = lean_apply_5(x_9, x_3, x_4, x_5, x_6, lean_box(0));
return x_10;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec_ref(x_2);
return x_8;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_11; lean_object* x_12; 
x_11 = lean_array_push(x_1, x_5);
x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg(x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9);
return x_12;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
uint8_t x_11; lean_object* x_12; 
x_11 = lean_unbox(x_4);
x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__1(x_1, x_2, x_3, x_11, x_5, x_6, x_7, x_8, x_9);
return x_12;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_10; uint8_t x_11; 
x_10 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__1;
x_11 = !lean_is_exclusive(x_10);
if (x_11 == 0)
{
lean_object* x_12; lean_object* x_13; uint8_t x_14; 
x_12 = lean_ctor_get(x_10, 0);
x_13 = lean_ctor_get(x_10, 1);
lean_dec(x_13);
x_14 = !lean_is_exclusive(x_12);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; 
x_15 = lean_ctor_get(x_12, 0);
x_16 = lean_ctor_get(x_12, 2);
x_17 = lean_ctor_get(x_12, 3);
x_18 = lean_ctor_get(x_12, 4);
x_19 = lean_ctor_get(x_12, 1);
lean_dec(x_19);
x_20 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__2;
x_21 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__3;
lean_inc_ref(x_15);
x_22 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__0), 6, 1);
lean_closure_set(x_22, 0, x_15);
x_23 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__1), 6, 1);
lean_closure_set(x_23, 0, x_15);
x_24 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_24, 0, x_22);
lean_ctor_set(x_24, 1, x_23);
x_25 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__1), 6, 1);
lean_closure_set(x_25, 0, x_18);
x_26 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__3), 6, 1);
lean_closure_set(x_26, 0, x_17);
x_27 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__4), 6, 1);
lean_closure_set(x_27, 0, x_16);
lean_ctor_set(x_12, 4, x_25);
lean_ctor_set(x_12, 3, x_26);
lean_ctor_set(x_12, 2, x_27);
lean_ctor_set(x_12, 1, x_20);
lean_ctor_set(x_12, 0, x_24);
lean_ctor_set(x_10, 1, x_21);
x_28 = l_ReaderT_instMonad___redArg(x_10);
x_29 = !lean_is_exclusive(x_28);
if (x_29 == 0)
{
lean_object* x_30; lean_object* x_31; uint8_t x_32; 
x_30 = lean_ctor_get(x_28, 0);
x_31 = lean_ctor_get(x_28, 1);
lean_dec(x_31);
x_32 = !lean_is_exclusive(x_30);
if (x_32 == 0)
{
lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; 
x_33 = lean_ctor_get(x_30, 0);
x_34 = lean_ctor_get(x_30, 2);
x_35 = lean_ctor_get(x_30, 3);
x_36 = lean_ctor_get(x_30, 4);
x_37 = lean_ctor_get(x_30, 1);
lean_dec(x_37);
x_38 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__4;
x_39 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__5;
lean_inc_ref(x_33);
x_40 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__0), 6, 1);
lean_closure_set(x_40, 0, x_33);
x_41 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__1), 6, 1);
lean_closure_set(x_41, 0, x_33);
x_42 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_42, 0, x_40);
lean_ctor_set(x_42, 1, x_41);
x_43 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__1), 6, 1);
lean_closure_set(x_43, 0, x_36);
x_44 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__3), 6, 1);
lean_closure_set(x_44, 0, x_35);
x_45 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__4), 6, 1);
lean_closure_set(x_45, 0, x_34);
lean_ctor_set(x_30, 4, x_43);
lean_ctor_set(x_30, 3, x_44);
lean_ctor_set(x_30, 2, x_45);
lean_ctor_set(x_30, 1, x_38);
lean_ctor_set(x_30, 0, x_42);
lean_ctor_set(x_28, 1, x_39);
x_46 = lean_array_get_size(x_4);
x_47 = lean_array_get_size(x_1);
x_48 = lean_nat_dec_lt(x_46, x_47);
lean_dec(x_47);
if (x_48 == 0)
{
lean_object* x_49; 
lean_dec(x_46);
lean_dec_ref(x_28);
lean_dec_ref(x_1);
x_49 = lean_apply_6(x_2, x_4, x_5, x_6, x_7, x_8, lean_box(0));
return x_49;
}
else
{
lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; 
x_50 = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__0___boxed), 7, 1);
lean_closure_set(x_50, 0, x_28);
x_51 = lean_box(0);
x_52 = 0;
x_53 = l_Pi_instInhabited___redArg(x_50);
x_54 = lean_box(x_52);
x_55 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_55, 0, x_54);
lean_ctor_set(x_55, 1, x_53);
x_56 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_56, 0, x_51);
lean_ctor_set(x_56, 1, x_55);
x_57 = lean_array_get_borrowed(x_56, x_1, x_46);
lean_dec(x_46);
x_58 = lean_ctor_get(x_57, 1);
x_59 = lean_ctor_get(x_57, 0);
lean_inc(x_59);
x_60 = lean_ctor_get(x_58, 0);
lean_inc(x_60);
x_61 = lean_ctor_get(x_58, 1);
lean_inc(x_61);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc_ref(x_4);
x_62 = lean_apply_6(x_61, x_4, x_5, x_6, x_7, x_8, lean_box(0));
if (lean_obj_tag(x_62) == 0)
{
lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; lean_object* x_67; 
x_63 = lean_ctor_get(x_62, 0);
lean_inc(x_63);
lean_dec_ref(x_62);
x_64 = lean_box(x_3);
x_65 = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__1___boxed), 10, 4);
lean_closure_set(x_65, 0, x_4);
lean_closure_set(x_65, 1, x_1);
lean_closure_set(x_65, 2, x_2);
lean_closure_set(x_65, 3, x_64);
x_66 = lean_unbox(x_60);
lean_dec(x_60);
x_67 = l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___redArg(x_59, x_66, x_63, x_65, x_3, x_5, x_6, x_7, x_8);
return x_67;
}
else
{
uint8_t x_68; 
lean_dec(x_60);
lean_dec(x_59);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_4);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_68 = !lean_is_exclusive(x_62);
if (x_68 == 0)
{
return x_62;
}
else
{
lean_object* x_69; lean_object* x_70; 
x_69 = lean_ctor_get(x_62, 0);
lean_inc(x_69);
lean_dec(x_62);
x_70 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_70, 0, x_69);
return x_70;
}
}
}
}
else
{
lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; 
x_71 = lean_ctor_get(x_30, 0);
x_72 = lean_ctor_get(x_30, 2);
x_73 = lean_ctor_get(x_30, 3);
x_74 = lean_ctor_get(x_30, 4);
lean_inc(x_74);
lean_inc(x_73);
lean_inc(x_72);
lean_inc(x_71);
lean_dec(x_30);
x_75 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__4;
x_76 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__5;
lean_inc_ref(x_71);
x_77 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__0), 6, 1);
lean_closure_set(x_77, 0, x_71);
x_78 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__1), 6, 1);
lean_closure_set(x_78, 0, x_71);
x_79 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_79, 0, x_77);
lean_ctor_set(x_79, 1, x_78);
x_80 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__1), 6, 1);
lean_closure_set(x_80, 0, x_74);
x_81 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__3), 6, 1);
lean_closure_set(x_81, 0, x_73);
x_82 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__4), 6, 1);
lean_closure_set(x_82, 0, x_72);
x_83 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_83, 0, x_79);
lean_ctor_set(x_83, 1, x_75);
lean_ctor_set(x_83, 2, x_82);
lean_ctor_set(x_83, 3, x_81);
lean_ctor_set(x_83, 4, x_80);
lean_ctor_set(x_28, 1, x_76);
lean_ctor_set(x_28, 0, x_83);
x_84 = lean_array_get_size(x_4);
x_85 = lean_array_get_size(x_1);
x_86 = lean_nat_dec_lt(x_84, x_85);
lean_dec(x_85);
if (x_86 == 0)
{
lean_object* x_87; 
lean_dec(x_84);
lean_dec_ref(x_28);
lean_dec_ref(x_1);
x_87 = lean_apply_6(x_2, x_4, x_5, x_6, x_7, x_8, lean_box(0));
return x_87;
}
else
{
lean_object* x_88; lean_object* x_89; uint8_t x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; 
x_88 = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__0___boxed), 7, 1);
lean_closure_set(x_88, 0, x_28);
x_89 = lean_box(0);
x_90 = 0;
x_91 = l_Pi_instInhabited___redArg(x_88);
x_92 = lean_box(x_90);
x_93 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_93, 0, x_92);
lean_ctor_set(x_93, 1, x_91);
x_94 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_94, 0, x_89);
lean_ctor_set(x_94, 1, x_93);
x_95 = lean_array_get_borrowed(x_94, x_1, x_84);
lean_dec(x_84);
x_96 = lean_ctor_get(x_95, 1);
x_97 = lean_ctor_get(x_95, 0);
lean_inc(x_97);
x_98 = lean_ctor_get(x_96, 0);
lean_inc(x_98);
x_99 = lean_ctor_get(x_96, 1);
lean_inc(x_99);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc_ref(x_4);
x_100 = lean_apply_6(x_99, x_4, x_5, x_6, x_7, x_8, lean_box(0));
if (lean_obj_tag(x_100) == 0)
{
lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; lean_object* x_105; 
x_101 = lean_ctor_get(x_100, 0);
lean_inc(x_101);
lean_dec_ref(x_100);
x_102 = lean_box(x_3);
x_103 = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__1___boxed), 10, 4);
lean_closure_set(x_103, 0, x_4);
lean_closure_set(x_103, 1, x_1);
lean_closure_set(x_103, 2, x_2);
lean_closure_set(x_103, 3, x_102);
x_104 = lean_unbox(x_98);
lean_dec(x_98);
x_105 = l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___redArg(x_97, x_104, x_101, x_103, x_3, x_5, x_6, x_7, x_8);
return x_105;
}
else
{
lean_object* x_106; lean_object* x_107; lean_object* x_108; 
lean_dec(x_98);
lean_dec(x_97);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_4);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_106 = lean_ctor_get(x_100, 0);
lean_inc(x_106);
if (lean_is_exclusive(x_100)) {
 lean_ctor_release(x_100, 0);
 x_107 = x_100;
} else {
 lean_dec_ref(x_100);
 x_107 = lean_box(0);
}
if (lean_is_scalar(x_107)) {
 x_108 = lean_alloc_ctor(1, 1, 0);
} else {
 x_108 = x_107;
}
lean_ctor_set(x_108, 0, x_106);
return x_108;
}
}
}
}
else
{
lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; 
x_109 = lean_ctor_get(x_28, 0);
lean_inc(x_109);
lean_dec(x_28);
x_110 = lean_ctor_get(x_109, 0);
lean_inc_ref(x_110);
x_111 = lean_ctor_get(x_109, 2);
lean_inc(x_111);
x_112 = lean_ctor_get(x_109, 3);
lean_inc(x_112);
x_113 = lean_ctor_get(x_109, 4);
lean_inc(x_113);
if (lean_is_exclusive(x_109)) {
 lean_ctor_release(x_109, 0);
 lean_ctor_release(x_109, 1);
 lean_ctor_release(x_109, 2);
 lean_ctor_release(x_109, 3);
 lean_ctor_release(x_109, 4);
 x_114 = x_109;
} else {
 lean_dec_ref(x_109);
 x_114 = lean_box(0);
}
x_115 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__4;
x_116 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__5;
lean_inc_ref(x_110);
x_117 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__0), 6, 1);
lean_closure_set(x_117, 0, x_110);
x_118 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__1), 6, 1);
lean_closure_set(x_118, 0, x_110);
x_119 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_119, 0, x_117);
lean_ctor_set(x_119, 1, x_118);
x_120 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__1), 6, 1);
lean_closure_set(x_120, 0, x_113);
x_121 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__3), 6, 1);
lean_closure_set(x_121, 0, x_112);
x_122 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__4), 6, 1);
lean_closure_set(x_122, 0, x_111);
if (lean_is_scalar(x_114)) {
 x_123 = lean_alloc_ctor(0, 5, 0);
} else {
 x_123 = x_114;
}
lean_ctor_set(x_123, 0, x_119);
lean_ctor_set(x_123, 1, x_115);
lean_ctor_set(x_123, 2, x_122);
lean_ctor_set(x_123, 3, x_121);
lean_ctor_set(x_123, 4, x_120);
x_124 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_124, 0, x_123);
lean_ctor_set(x_124, 1, x_116);
x_125 = lean_array_get_size(x_4);
x_126 = lean_array_get_size(x_1);
x_127 = lean_nat_dec_lt(x_125, x_126);
lean_dec(x_126);
if (x_127 == 0)
{
lean_object* x_128; 
lean_dec(x_125);
lean_dec_ref(x_124);
lean_dec_ref(x_1);
x_128 = lean_apply_6(x_2, x_4, x_5, x_6, x_7, x_8, lean_box(0));
return x_128;
}
else
{
lean_object* x_129; lean_object* x_130; uint8_t x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; 
x_129 = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__0___boxed), 7, 1);
lean_closure_set(x_129, 0, x_124);
x_130 = lean_box(0);
x_131 = 0;
x_132 = l_Pi_instInhabited___redArg(x_129);
x_133 = lean_box(x_131);
x_134 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_134, 0, x_133);
lean_ctor_set(x_134, 1, x_132);
x_135 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_135, 0, x_130);
lean_ctor_set(x_135, 1, x_134);
x_136 = lean_array_get_borrowed(x_135, x_1, x_125);
lean_dec(x_125);
x_137 = lean_ctor_get(x_136, 1);
x_138 = lean_ctor_get(x_136, 0);
lean_inc(x_138);
x_139 = lean_ctor_get(x_137, 0);
lean_inc(x_139);
x_140 = lean_ctor_get(x_137, 1);
lean_inc(x_140);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc_ref(x_4);
x_141 = lean_apply_6(x_140, x_4, x_5, x_6, x_7, x_8, lean_box(0));
if (lean_obj_tag(x_141) == 0)
{
lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; lean_object* x_146; 
x_142 = lean_ctor_get(x_141, 0);
lean_inc(x_142);
lean_dec_ref(x_141);
x_143 = lean_box(x_3);
x_144 = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__1___boxed), 10, 4);
lean_closure_set(x_144, 0, x_4);
lean_closure_set(x_144, 1, x_1);
lean_closure_set(x_144, 2, x_2);
lean_closure_set(x_144, 3, x_143);
x_145 = lean_unbox(x_139);
lean_dec(x_139);
x_146 = l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___redArg(x_138, x_145, x_142, x_144, x_3, x_5, x_6, x_7, x_8);
return x_146;
}
else
{
lean_object* x_147; lean_object* x_148; lean_object* x_149; 
lean_dec(x_139);
lean_dec(x_138);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_4);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_147 = lean_ctor_get(x_141, 0);
lean_inc(x_147);
if (lean_is_exclusive(x_141)) {
 lean_ctor_release(x_141, 0);
 x_148 = x_141;
} else {
 lean_dec_ref(x_141);
 x_148 = lean_box(0);
}
if (lean_is_scalar(x_148)) {
 x_149 = lean_alloc_ctor(1, 1, 0);
} else {
 x_149 = x_148;
}
lean_ctor_set(x_149, 0, x_147);
return x_149;
}
}
}
}
else
{
lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; 
x_150 = lean_ctor_get(x_12, 0);
x_151 = lean_ctor_get(x_12, 2);
x_152 = lean_ctor_get(x_12, 3);
x_153 = lean_ctor_get(x_12, 4);
lean_inc(x_153);
lean_inc(x_152);
lean_inc(x_151);
lean_inc(x_150);
lean_dec(x_12);
x_154 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__2;
x_155 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__3;
lean_inc_ref(x_150);
x_156 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__0), 6, 1);
lean_closure_set(x_156, 0, x_150);
x_157 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__1), 6, 1);
lean_closure_set(x_157, 0, x_150);
x_158 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_158, 0, x_156);
lean_ctor_set(x_158, 1, x_157);
x_159 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__1), 6, 1);
lean_closure_set(x_159, 0, x_153);
x_160 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__3), 6, 1);
lean_closure_set(x_160, 0, x_152);
x_161 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__4), 6, 1);
lean_closure_set(x_161, 0, x_151);
x_162 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_162, 0, x_158);
lean_ctor_set(x_162, 1, x_154);
lean_ctor_set(x_162, 2, x_161);
lean_ctor_set(x_162, 3, x_160);
lean_ctor_set(x_162, 4, x_159);
lean_ctor_set(x_10, 1, x_155);
lean_ctor_set(x_10, 0, x_162);
x_163 = l_ReaderT_instMonad___redArg(x_10);
x_164 = lean_ctor_get(x_163, 0);
lean_inc_ref(x_164);
if (lean_is_exclusive(x_163)) {
 lean_ctor_release(x_163, 0);
 lean_ctor_release(x_163, 1);
 x_165 = x_163;
} else {
 lean_dec_ref(x_163);
 x_165 = lean_box(0);
}
x_166 = lean_ctor_get(x_164, 0);
lean_inc_ref(x_166);
x_167 = lean_ctor_get(x_164, 2);
lean_inc(x_167);
x_168 = lean_ctor_get(x_164, 3);
lean_inc(x_168);
x_169 = lean_ctor_get(x_164, 4);
lean_inc(x_169);
if (lean_is_exclusive(x_164)) {
 lean_ctor_release(x_164, 0);
 lean_ctor_release(x_164, 1);
 lean_ctor_release(x_164, 2);
 lean_ctor_release(x_164, 3);
 lean_ctor_release(x_164, 4);
 x_170 = x_164;
} else {
 lean_dec_ref(x_164);
 x_170 = lean_box(0);
}
x_171 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__4;
x_172 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__5;
lean_inc_ref(x_166);
x_173 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__0), 6, 1);
lean_closure_set(x_173, 0, x_166);
x_174 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__1), 6, 1);
lean_closure_set(x_174, 0, x_166);
x_175 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_175, 0, x_173);
lean_ctor_set(x_175, 1, x_174);
x_176 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__1), 6, 1);
lean_closure_set(x_176, 0, x_169);
x_177 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__3), 6, 1);
lean_closure_set(x_177, 0, x_168);
x_178 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__4), 6, 1);
lean_closure_set(x_178, 0, x_167);
if (lean_is_scalar(x_170)) {
 x_179 = lean_alloc_ctor(0, 5, 0);
} else {
 x_179 = x_170;
}
lean_ctor_set(x_179, 0, x_175);
lean_ctor_set(x_179, 1, x_171);
lean_ctor_set(x_179, 2, x_178);
lean_ctor_set(x_179, 3, x_177);
lean_ctor_set(x_179, 4, x_176);
if (lean_is_scalar(x_165)) {
 x_180 = lean_alloc_ctor(0, 2, 0);
} else {
 x_180 = x_165;
}
lean_ctor_set(x_180, 0, x_179);
lean_ctor_set(x_180, 1, x_172);
x_181 = lean_array_get_size(x_4);
x_182 = lean_array_get_size(x_1);
x_183 = lean_nat_dec_lt(x_181, x_182);
lean_dec(x_182);
if (x_183 == 0)
{
lean_object* x_184; 
lean_dec(x_181);
lean_dec_ref(x_180);
lean_dec_ref(x_1);
x_184 = lean_apply_6(x_2, x_4, x_5, x_6, x_7, x_8, lean_box(0));
return x_184;
}
else
{
lean_object* x_185; lean_object* x_186; uint8_t x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; 
x_185 = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__0___boxed), 7, 1);
lean_closure_set(x_185, 0, x_180);
x_186 = lean_box(0);
x_187 = 0;
x_188 = l_Pi_instInhabited___redArg(x_185);
x_189 = lean_box(x_187);
x_190 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_190, 0, x_189);
lean_ctor_set(x_190, 1, x_188);
x_191 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_191, 0, x_186);
lean_ctor_set(x_191, 1, x_190);
x_192 = lean_array_get_borrowed(x_191, x_1, x_181);
lean_dec(x_181);
x_193 = lean_ctor_get(x_192, 1);
x_194 = lean_ctor_get(x_192, 0);
lean_inc(x_194);
x_195 = lean_ctor_get(x_193, 0);
lean_inc(x_195);
x_196 = lean_ctor_get(x_193, 1);
lean_inc(x_196);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc_ref(x_4);
x_197 = lean_apply_6(x_196, x_4, x_5, x_6, x_7, x_8, lean_box(0));
if (lean_obj_tag(x_197) == 0)
{
lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; lean_object* x_202; 
x_198 = lean_ctor_get(x_197, 0);
lean_inc(x_198);
lean_dec_ref(x_197);
x_199 = lean_box(x_3);
x_200 = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__1___boxed), 10, 4);
lean_closure_set(x_200, 0, x_4);
lean_closure_set(x_200, 1, x_1);
lean_closure_set(x_200, 2, x_2);
lean_closure_set(x_200, 3, x_199);
x_201 = lean_unbox(x_195);
lean_dec(x_195);
x_202 = l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___redArg(x_194, x_201, x_198, x_200, x_3, x_5, x_6, x_7, x_8);
return x_202;
}
else
{
lean_object* x_203; lean_object* x_204; lean_object* x_205; 
lean_dec(x_195);
lean_dec(x_194);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_4);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_203 = lean_ctor_get(x_197, 0);
lean_inc(x_203);
if (lean_is_exclusive(x_197)) {
 lean_ctor_release(x_197, 0);
 x_204 = x_197;
} else {
 lean_dec_ref(x_197);
 x_204 = lean_box(0);
}
if (lean_is_scalar(x_204)) {
 x_205 = lean_alloc_ctor(1, 1, 0);
} else {
 x_205 = x_204;
}
lean_ctor_set(x_205, 0, x_203);
return x_205;
}
}
}
}
else
{
lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; 
x_206 = lean_ctor_get(x_10, 0);
lean_inc(x_206);
lean_dec(x_10);
x_207 = lean_ctor_get(x_206, 0);
lean_inc_ref(x_207);
x_208 = lean_ctor_get(x_206, 2);
lean_inc(x_208);
x_209 = lean_ctor_get(x_206, 3);
lean_inc(x_209);
x_210 = lean_ctor_get(x_206, 4);
lean_inc(x_210);
if (lean_is_exclusive(x_206)) {
 lean_ctor_release(x_206, 0);
 lean_ctor_release(x_206, 1);
 lean_ctor_release(x_206, 2);
 lean_ctor_release(x_206, 3);
 lean_ctor_release(x_206, 4);
 x_211 = x_206;
} else {
 lean_dec_ref(x_206);
 x_211 = lean_box(0);
}
x_212 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__2;
x_213 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__3;
lean_inc_ref(x_207);
x_214 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__0), 6, 1);
lean_closure_set(x_214, 0, x_207);
x_215 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__1), 6, 1);
lean_closure_set(x_215, 0, x_207);
x_216 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_216, 0, x_214);
lean_ctor_set(x_216, 1, x_215);
x_217 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__1), 6, 1);
lean_closure_set(x_217, 0, x_210);
x_218 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__3), 6, 1);
lean_closure_set(x_218, 0, x_209);
x_219 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__4), 6, 1);
lean_closure_set(x_219, 0, x_208);
if (lean_is_scalar(x_211)) {
 x_220 = lean_alloc_ctor(0, 5, 0);
} else {
 x_220 = x_211;
}
lean_ctor_set(x_220, 0, x_216);
lean_ctor_set(x_220, 1, x_212);
lean_ctor_set(x_220, 2, x_219);
lean_ctor_set(x_220, 3, x_218);
lean_ctor_set(x_220, 4, x_217);
x_221 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_221, 0, x_220);
lean_ctor_set(x_221, 1, x_213);
x_222 = l_ReaderT_instMonad___redArg(x_221);
x_223 = lean_ctor_get(x_222, 0);
lean_inc_ref(x_223);
if (lean_is_exclusive(x_222)) {
 lean_ctor_release(x_222, 0);
 lean_ctor_release(x_222, 1);
 x_224 = x_222;
} else {
 lean_dec_ref(x_222);
 x_224 = lean_box(0);
}
x_225 = lean_ctor_get(x_223, 0);
lean_inc_ref(x_225);
x_226 = lean_ctor_get(x_223, 2);
lean_inc(x_226);
x_227 = lean_ctor_get(x_223, 3);
lean_inc(x_227);
x_228 = lean_ctor_get(x_223, 4);
lean_inc(x_228);
if (lean_is_exclusive(x_223)) {
 lean_ctor_release(x_223, 0);
 lean_ctor_release(x_223, 1);
 lean_ctor_release(x_223, 2);
 lean_ctor_release(x_223, 3);
 lean_ctor_release(x_223, 4);
 x_229 = x_223;
} else {
 lean_dec_ref(x_223);
 x_229 = lean_box(0);
}
x_230 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__4;
x_231 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__5;
lean_inc_ref(x_225);
x_232 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__0), 6, 1);
lean_closure_set(x_232, 0, x_225);
x_233 = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___lam__1), 6, 1);
lean_closure_set(x_233, 0, x_225);
x_234 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_234, 0, x_232);
lean_ctor_set(x_234, 1, x_233);
x_235 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__1), 6, 1);
lean_closure_set(x_235, 0, x_228);
x_236 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__3), 6, 1);
lean_closure_set(x_236, 0, x_227);
x_237 = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___lam__4), 6, 1);
lean_closure_set(x_237, 0, x_226);
if (lean_is_scalar(x_229)) {
 x_238 = lean_alloc_ctor(0, 5, 0);
} else {
 x_238 = x_229;
}
lean_ctor_set(x_238, 0, x_234);
lean_ctor_set(x_238, 1, x_230);
lean_ctor_set(x_238, 2, x_237);
lean_ctor_set(x_238, 3, x_236);
lean_ctor_set(x_238, 4, x_235);
if (lean_is_scalar(x_224)) {
 x_239 = lean_alloc_ctor(0, 2, 0);
} else {
 x_239 = x_224;
}
lean_ctor_set(x_239, 0, x_238);
lean_ctor_set(x_239, 1, x_231);
x_240 = lean_array_get_size(x_4);
x_241 = lean_array_get_size(x_1);
x_242 = lean_nat_dec_lt(x_240, x_241);
lean_dec(x_241);
if (x_242 == 0)
{
lean_object* x_243; 
lean_dec(x_240);
lean_dec_ref(x_239);
lean_dec_ref(x_1);
x_243 = lean_apply_6(x_2, x_4, x_5, x_6, x_7, x_8, lean_box(0));
return x_243;
}
else
{
lean_object* x_244; lean_object* x_245; uint8_t x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; 
x_244 = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__0___boxed), 7, 1);
lean_closure_set(x_244, 0, x_239);
x_245 = lean_box(0);
x_246 = 0;
x_247 = l_Pi_instInhabited___redArg(x_244);
x_248 = lean_box(x_246);
x_249 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_249, 0, x_248);
lean_ctor_set(x_249, 1, x_247);
x_250 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_250, 0, x_245);
lean_ctor_set(x_250, 1, x_249);
x_251 = lean_array_get_borrowed(x_250, x_1, x_240);
lean_dec(x_240);
x_252 = lean_ctor_get(x_251, 1);
x_253 = lean_ctor_get(x_251, 0);
lean_inc(x_253);
x_254 = lean_ctor_get(x_252, 0);
lean_inc(x_254);
x_255 = lean_ctor_get(x_252, 1);
lean_inc(x_255);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc_ref(x_4);
x_256 = lean_apply_6(x_255, x_4, x_5, x_6, x_7, x_8, lean_box(0));
if (lean_obj_tag(x_256) == 0)
{
lean_object* x_257; lean_object* x_258; lean_object* x_259; uint8_t x_260; lean_object* x_261; 
x_257 = lean_ctor_get(x_256, 0);
lean_inc(x_257);
lean_dec_ref(x_256);
x_258 = lean_box(x_3);
x_259 = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___lam__1___boxed), 10, 4);
lean_closure_set(x_259, 0, x_4);
lean_closure_set(x_259, 1, x_1);
lean_closure_set(x_259, 2, x_2);
lean_closure_set(x_259, 3, x_258);
x_260 = lean_unbox(x_254);
lean_dec(x_254);
x_261 = l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3_spec__3___redArg(x_253, x_260, x_257, x_259, x_3, x_5, x_6, x_7, x_8);
return x_261;
}
else
{
lean_object* x_262; lean_object* x_263; lean_object* x_264; 
lean_dec(x_254);
lean_dec(x_253);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec_ref(x_4);
lean_dec_ref(x_2);
lean_dec_ref(x_1);
x_262 = lean_ctor_get(x_256, 0);
lean_inc(x_262);
if (lean_is_exclusive(x_256)) {
 lean_ctor_release(x_256, 0);
 x_263 = x_256;
} else {
 lean_dec_ref(x_256);
 x_263 = lean_box(0);
}
if (lean_is_scalar(x_263)) {
 x_264 = lean_alloc_ctor(1, 1, 0);
} else {
 x_264 = x_263;
}
lean_ctor_set(x_264, 0, x_262);
return x_264;
}
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_10; lean_object* x_11; 
x_10 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise___lam__0___closed__0;
x_11 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg(x_2, x_3, x_4, x_10, x_5, x_6, x_7, x_8);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_11; 
x_11 = l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
return x_11;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__7(size_t x_1, size_t x_2, lean_object* x_3) {
_start:
{
uint8_t x_4; 
x_4 = lean_usize_dec_lt(x_2, x_1);
if (x_4 == 0)
{
return x_3;
}
else
{
lean_object* x_5; uint8_t x_6; 
x_5 = lean_array_uget(x_3, x_2);
x_6 = !lean_is_exclusive(x_5);
if (x_6 == 0)
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; 
x_7 = lean_ctor_get(x_5, 0);
x_8 = lean_unsigned_to_nat(0u);
x_9 = lean_array_uset(x_3, x_2, x_8);
x_10 = 0;
x_11 = lean_box(x_10);
lean_ctor_set(x_5, 0, x_11);
x_12 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_12, 0, x_7);
lean_ctor_set(x_12, 1, x_5);
x_13 = 1;
x_14 = lean_usize_add(x_2, x_13);
x_15 = lean_array_uset(x_9, x_2, x_12);
x_2 = x_14;
x_3 = x_15;
goto _start;
}
else
{
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; 
x_17 = lean_ctor_get(x_5, 0);
x_18 = lean_ctor_get(x_5, 1);
lean_inc(x_18);
lean_inc(x_17);
lean_dec(x_5);
x_19 = lean_unsigned_to_nat(0u);
x_20 = lean_array_uset(x_3, x_2, x_19);
x_21 = 0;
x_22 = lean_box(x_21);
x_23 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_23, 0, x_22);
lean_ctor_set(x_23, 1, x_18);
x_24 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_24, 0, x_17);
lean_ctor_set(x_24, 1, x_23);
x_25 = 1;
x_26 = lean_usize_add(x_2, x_25);
x_27 = lean_array_uset(x_20, x_2, x_24);
x_2 = x_26;
x_3 = x_27;
goto _start;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; 
x_10 = lean_array_size(x_2);
x_11 = 0;
x_12 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__7(x_10, x_11, x_2);
x_13 = l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8___redArg(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_11; 
x_11 = l_Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
uint8_t x_4; 
x_4 = l_Lean_Expr_hasMVar(x_1);
if (x_4 == 0)
{
lean_object* x_5; 
x_5 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_5, 0, x_1);
return x_5;
}
else
{
lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; 
x_6 = lean_st_ref_get(x_2);
x_7 = lean_ctor_get(x_6, 0);
lean_inc_ref(x_7);
lean_dec(x_6);
x_8 = l_Lean_instantiateMVarsCore(x_7, x_1);
x_9 = lean_ctor_get(x_8, 0);
lean_inc(x_9);
x_10 = lean_ctor_get(x_8, 1);
lean_inc(x_10);
lean_dec_ref(x_8);
x_11 = lean_st_ref_take(x_2);
x_12 = !lean_is_exclusive(x_11);
if (x_12 == 0)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_13 = lean_ctor_get(x_11, 0);
lean_dec(x_13);
lean_ctor_set(x_11, 0, x_10);
x_14 = lean_st_ref_set(x_2, x_11);
x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_9);
return x_15;
}
else
{
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_16 = lean_ctor_get(x_11, 1);
x_17 = lean_ctor_get(x_11, 2);
x_18 = lean_ctor_get(x_11, 3);
x_19 = lean_ctor_get(x_11, 4);
lean_inc(x_19);
lean_inc(x_18);
lean_inc(x_17);
lean_inc(x_16);
lean_dec(x_11);
x_20 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_20, 0, x_10);
lean_ctor_set(x_20, 1, x_16);
lean_ctor_set(x_20, 2, x_17);
lean_ctor_set(x_20, 3, x_18);
lean_ctor_set(x_20, 4, x_19);
x_21 = lean_st_ref_set(x_2, x_20);
x_22 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_22, 0, x_9);
return x_22;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___redArg(x_1, x_3);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___redArg(lean_object* x_1, lean_object* x_2) {
_start:
{
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_18; uint8_t x_19; 
x_4 = lean_st_ref_get(x_2);
x_5 = lean_ctor_get(x_4, 0);
lean_inc_ref(x_5);
lean_dec(x_4);
x_6 = lean_ctor_get(x_1, 0);
x_7 = lean_ctor_get(x_1, 1);
x_8 = lean_ctor_get(x_1, 2);
x_18 = lean_ctor_get(x_6, 2);
lean_inc_ref(x_5);
x_19 = l_Lean_Environment_hasUnsafe(x_5, x_18);
if (x_19 == 0)
{
uint8_t x_20; 
x_20 = l_Lean_Environment_hasUnsafe(x_5, x_7);
x_9 = x_20;
goto block_17;
}
else
{
lean_dec_ref(x_5);
x_9 = x_19;
goto block_17;
}
block_17:
{
if (x_9 == 0)
{
lean_object* x_10; lean_object* x_11; 
x_10 = lean_alloc_ctor(2, 1, 0);
lean_ctor_set(x_10, 0, x_1);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_10);
return x_11;
}
else
{
lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; 
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc_ref(x_6);
lean_dec_ref(x_1);
x_12 = lean_box(0);
x_13 = 0;
x_14 = lean_alloc_ctor(0, 4, 1);
lean_ctor_set(x_14, 0, x_6);
lean_ctor_set(x_14, 1, x_7);
lean_ctor_set(x_14, 2, x_12);
lean_ctor_set(x_14, 3, x_8);
lean_ctor_set_uint8(x_14, sizeof(void*)*4, x_13);
x_15 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_15, 0, x_14);
x_16 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_16, 0, x_15);
return x_16;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___redArg(x_1, x_5);
return x_7;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
lean_object* x_12; 
x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg(x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10);
return x_12;
}
}
LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; 
x_7 = l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__10___closed__0;
x_8 = lean_panic_fn(x_7, x_1);
x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, lean_box(0));
return x_9;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__4(uint8_t x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
uint8_t x_12; 
x_12 = lean_usize_dec_lt(x_5, x_4);
if (x_12 == 0)
{
lean_object* x_13; 
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
x_13 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_13, 0, x_6);
return x_13;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_14 = lean_array_uget(x_3, x_5);
x_15 = lean_ctor_get(x_14, 0);
lean_inc_ref(x_15);
lean_dec(x_14);
x_16 = lean_ctor_get(x_15, 0);
lean_inc(x_16);
lean_dec_ref(x_15);
lean_inc(x_10);
lean_inc_ref(x_9);
lean_inc(x_8);
lean_inc_ref(x_7);
x_17 = l_Lean_MVarId_refl(x_16, x_1, x_7, x_8, x_9, x_10);
if (lean_obj_tag(x_17) == 0)
{
size_t x_18; size_t x_19; 
lean_dec_ref(x_17);
x_18 = 1;
x_19 = lean_usize_add(x_5, x_18);
{
size_t _tmp_4 = x_19;
lean_object* _tmp_5 = x_2;
x_5 = _tmp_4;
x_6 = _tmp_5;
}
goto _start;
}
else
{
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec(x_8);
lean_dec_ref(x_7);
return x_17;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
uint8_t x_14; 
x_14 = lean_usize_dec_lt(x_7, x_6);
if (x_14 == 0)
{
lean_object* x_15; 
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec_ref(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec(x_1);
x_15 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_15, 0, x_8);
return x_15;
}
else
{
lean_object* x_16; lean_object* x_17; 
x_16 = lean_array_uget(x_5, x_7);
lean_inc(x_12);
lean_inc_ref(x_11);
lean_inc(x_10);
lean_inc_ref(x_9);
x_17 = lean_infer_type(x_16, x_9, x_10, x_11, x_12);
if (lean_obj_tag(x_17) == 0)
{
lean_object* x_18; lean_object* x_19; 
x_18 = lean_ctor_get(x_17, 0);
lean_inc(x_18);
lean_dec_ref(x_17);
lean_inc(x_12);
lean_inc_ref(x_11);
lean_inc(x_10);
lean_inc_ref(x_9);
lean_inc_ref(x_4);
lean_inc_ref(x_3);
lean_inc_ref(x_2);
lean_inc(x_1);
x_19 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise(x_1, x_2, x_3, x_4, x_18, x_9, x_10, x_11, x_12);
if (lean_obj_tag(x_19) == 0)
{
lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; 
x_20 = lean_ctor_get(x_19, 0);
lean_inc(x_20);
lean_dec_ref(x_19);
x_21 = l_Lean_Expr_app___override(x_8, x_20);
x_22 = 1;
x_23 = lean_usize_add(x_7, x_22);
x_7 = x_23;
x_8 = x_21;
goto _start;
}
else
{
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec_ref(x_8);
lean_dec_ref(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_19;
}
}
else
{
lean_dec(x_12);
lean_dec_ref(x_11);
lean_dec(x_10);
lean_dec_ref(x_9);
lean_dec_ref(x_8);
lean_dec_ref(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_17;
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__2___lam__0(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; 
x_11 = l_Lean_mkAppN(x_1, x_4);
x_12 = l_Lean_mkAppN(x_2, x_4);
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_6);
x_13 = l_Lean_Meta_mkPProd(x_11, x_12, x_6, x_7, x_8, x_9);
if (lean_obj_tag(x_13) == 0)
{
lean_object* x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; 
x_14 = lean_ctor_get(x_13, 0);
lean_inc(x_14);
lean_dec_ref(x_13);
x_15 = 0;
x_16 = 1;
x_17 = l_Lean_Meta_mkLambdaFVars(x_4, x_14, x_15, x_3, x_15, x_3, x_16, x_6, x_7, x_8, x_9);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
return x_17;
}
else
{
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
return x_13;
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__2___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
uint8_t x_11; lean_object* x_12; 
x_11 = lean_unbox(x_3);
x_12 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__2___lam__0(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9);
lean_dec_ref(x_5);
lean_dec_ref(x_4);
return x_12;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
uint8_t x_10; 
x_10 = lean_usize_dec_lt(x_3, x_2);
if (x_10 == 0)
{
lean_object* x_11; 
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
x_11 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_11, 0, x_4);
return x_11;
}
else
{
uint8_t x_12; 
x_12 = !lean_is_exclusive(x_4);
if (x_12 == 0)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; 
x_13 = lean_ctor_get(x_4, 0);
x_14 = lean_ctor_get(x_4, 1);
x_15 = lean_ctor_get(x_13, 0);
x_16 = lean_ctor_get(x_13, 1);
x_17 = lean_ctor_get(x_13, 2);
x_18 = lean_nat_dec_lt(x_16, x_17);
if (x_18 == 0)
{
lean_object* x_19; 
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
x_19 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_19, 0, x_4);
return x_19;
}
else
{
uint8_t x_20; 
lean_inc(x_17);
lean_inc(x_16);
lean_inc_ref(x_15);
x_20 = !lean_is_exclusive(x_13);
if (x_20 == 0)
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 
x_21 = lean_ctor_get(x_13, 2);
lean_dec(x_21);
x_22 = lean_ctor_get(x_13, 1);
lean_dec(x_22);
x_23 = lean_ctor_get(x_13, 0);
lean_dec(x_23);
x_24 = lean_array_uget(x_1, x_3);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_24);
x_25 = lean_infer_type(x_24, x_5, x_6, x_7, x_8);
if (lean_obj_tag(x_25) == 0)
{
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; 
x_26 = lean_ctor_get(x_25, 0);
lean_inc(x_26);
lean_dec_ref(x_25);
x_27 = lean_array_fget_borrowed(x_15, x_16);
x_28 = lean_box(x_18);
lean_inc(x_27);
x_29 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__2___lam__0___boxed), 10, 3);
lean_closure_set(x_29, 0, x_24);
lean_closure_set(x_29, 1, x_27);
lean_closure_set(x_29, 2, x_28);
x_30 = 0;
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_6);
lean_inc_ref(x_5);
x_31 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_26, x_29, x_30, x_5, x_6, x_7, x_8);
if (lean_obj_tag(x_31) == 0)
{
lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; size_t x_36; size_t x_37; 
x_32 = lean_ctor_get(x_31, 0);
lean_inc(x_32);
lean_dec_ref(x_31);
x_33 = lean_unsigned_to_nat(1u);
x_34 = lean_nat_add(x_16, x_33);
lean_dec(x_16);
lean_ctor_set(x_13, 1, x_34);
x_35 = l_Lean_Expr_app___override(x_14, x_32);
lean_ctor_set(x_4, 1, x_35);
x_36 = 1;
x_37 = lean_usize_add(x_3, x_36);
x_3 = x_37;
goto _start;
}
else
{
uint8_t x_39; 
lean_free_object(x_13);
lean_dec(x_17);
lean_dec(x_16);
lean_dec_ref(x_15);
lean_free_object(x_4);
lean_dec(x_14);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
x_39 = !lean_is_exclusive(x_31);
if (x_39 == 0)
{
return x_31;
}
else
{
lean_object* x_40; lean_object* x_41; 
x_40 = lean_ctor_get(x_31, 0);
lean_inc(x_40);
lean_dec(x_31);
x_41 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_41, 0, x_40);
return x_41;
}
}
}
else
{
uint8_t x_42; 
lean_dec(x_24);
lean_free_object(x_13);
lean_dec(x_17);
lean_dec(x_16);
lean_dec_ref(x_15);
lean_free_object(x_4);
lean_dec(x_14);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
x_42 = !lean_is_exclusive(x_25);
if (x_42 == 0)
{
return x_25;
}
else
{
lean_object* x_43; lean_object* x_44; 
x_43 = lean_ctor_get(x_25, 0);
lean_inc(x_43);
lean_dec(x_25);
x_44 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_44, 0, x_43);
return x_44;
}
}
}
else
{
lean_object* x_45; lean_object* x_46; 
lean_dec(x_13);
x_45 = lean_array_uget(x_1, x_3);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_45);
x_46 = lean_infer_type(x_45, x_5, x_6, x_7, x_8);
if (lean_obj_tag(x_46) == 0)
{
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; 
x_47 = lean_ctor_get(x_46, 0);
lean_inc(x_47);
lean_dec_ref(x_46);
x_48 = lean_array_fget_borrowed(x_15, x_16);
x_49 = lean_box(x_18);
lean_inc(x_48);
x_50 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__2___lam__0___boxed), 10, 3);
lean_closure_set(x_50, 0, x_45);
lean_closure_set(x_50, 1, x_48);
lean_closure_set(x_50, 2, x_49);
x_51 = 0;
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_6);
lean_inc_ref(x_5);
x_52 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_47, x_50, x_51, x_5, x_6, x_7, x_8);
if (lean_obj_tag(x_52) == 0)
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; size_t x_58; size_t x_59; 
x_53 = lean_ctor_get(x_52, 0);
lean_inc(x_53);
lean_dec_ref(x_52);
x_54 = lean_unsigned_to_nat(1u);
x_55 = lean_nat_add(x_16, x_54);
lean_dec(x_16);
x_56 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_56, 0, x_15);
lean_ctor_set(x_56, 1, x_55);
lean_ctor_set(x_56, 2, x_17);
x_57 = l_Lean_Expr_app___override(x_14, x_53);
lean_ctor_set(x_4, 1, x_57);
lean_ctor_set(x_4, 0, x_56);
x_58 = 1;
x_59 = lean_usize_add(x_3, x_58);
x_3 = x_59;
goto _start;
}
else
{
lean_object* x_61; lean_object* x_62; lean_object* x_63; 
lean_dec(x_17);
lean_dec(x_16);
lean_dec_ref(x_15);
lean_free_object(x_4);
lean_dec(x_14);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
x_61 = lean_ctor_get(x_52, 0);
lean_inc(x_61);
if (lean_is_exclusive(x_52)) {
 lean_ctor_release(x_52, 0);
 x_62 = x_52;
} else {
 lean_dec_ref(x_52);
 x_62 = lean_box(0);
}
if (lean_is_scalar(x_62)) {
 x_63 = lean_alloc_ctor(1, 1, 0);
} else {
 x_63 = x_62;
}
lean_ctor_set(x_63, 0, x_61);
return x_63;
}
}
else
{
lean_object* x_64; lean_object* x_65; lean_object* x_66; 
lean_dec(x_45);
lean_dec(x_17);
lean_dec(x_16);
lean_dec_ref(x_15);
lean_free_object(x_4);
lean_dec(x_14);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
x_64 = lean_ctor_get(x_46, 0);
lean_inc(x_64);
if (lean_is_exclusive(x_46)) {
 lean_ctor_release(x_46, 0);
 x_65 = x_46;
} else {
 lean_dec_ref(x_46);
 x_65 = lean_box(0);
}
if (lean_is_scalar(x_65)) {
 x_66 = lean_alloc_ctor(1, 1, 0);
} else {
 x_66 = x_65;
}
lean_ctor_set(x_66, 0, x_64);
return x_66;
}
}
}
}
else
{
lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; 
x_67 = lean_ctor_get(x_4, 0);
x_68 = lean_ctor_get(x_4, 1);
lean_inc(x_68);
lean_inc(x_67);
lean_dec(x_4);
x_69 = lean_ctor_get(x_67, 0);
x_70 = lean_ctor_get(x_67, 1);
x_71 = lean_ctor_get(x_67, 2);
x_72 = lean_nat_dec_lt(x_70, x_71);
if (x_72 == 0)
{
lean_object* x_73; lean_object* x_74; 
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
x_73 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_73, 0, x_67);
lean_ctor_set(x_73, 1, x_68);
x_74 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_74, 0, x_73);
return x_74;
}
else
{
lean_object* x_75; lean_object* x_76; lean_object* x_77; 
lean_inc(x_71);
lean_inc(x_70);
lean_inc_ref(x_69);
if (lean_is_exclusive(x_67)) {
 lean_ctor_release(x_67, 0);
 lean_ctor_release(x_67, 1);
 lean_ctor_release(x_67, 2);
 x_75 = x_67;
} else {
 lean_dec_ref(x_67);
 x_75 = lean_box(0);
}
x_76 = lean_array_uget(x_1, x_3);
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_76);
x_77 = lean_infer_type(x_76, x_5, x_6, x_7, x_8);
if (lean_obj_tag(x_77) == 0)
{
lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; lean_object* x_83; 
x_78 = lean_ctor_get(x_77, 0);
lean_inc(x_78);
lean_dec_ref(x_77);
x_79 = lean_array_fget_borrowed(x_69, x_70);
x_80 = lean_box(x_72);
lean_inc(x_79);
x_81 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__2___lam__0___boxed), 10, 3);
lean_closure_set(x_81, 0, x_76);
lean_closure_set(x_81, 1, x_79);
lean_closure_set(x_81, 2, x_80);
x_82 = 0;
lean_inc(x_8);
lean_inc_ref(x_7);
lean_inc(x_6);
lean_inc_ref(x_5);
x_83 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_78, x_81, x_82, x_5, x_6, x_7, x_8);
if (lean_obj_tag(x_83) == 0)
{
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; size_t x_90; size_t x_91; 
x_84 = lean_ctor_get(x_83, 0);
lean_inc(x_84);
lean_dec_ref(x_83);
x_85 = lean_unsigned_to_nat(1u);
x_86 = lean_nat_add(x_70, x_85);
lean_dec(x_70);
if (lean_is_scalar(x_75)) {
 x_87 = lean_alloc_ctor(0, 3, 0);
} else {
 x_87 = x_75;
}
lean_ctor_set(x_87, 0, x_69);
lean_ctor_set(x_87, 1, x_86);
lean_ctor_set(x_87, 2, x_71);
x_88 = l_Lean_Expr_app___override(x_68, x_84);
x_89 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_89, 0, x_87);
lean_ctor_set(x_89, 1, x_88);
x_90 = 1;
x_91 = lean_usize_add(x_3, x_90);
x_3 = x_91;
x_4 = x_89;
goto _start;
}
else
{
lean_object* x_93; lean_object* x_94; lean_object* x_95; 
lean_dec(x_75);
lean_dec(x_71);
lean_dec(x_70);
lean_dec_ref(x_69);
lean_dec(x_68);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
x_93 = lean_ctor_get(x_83, 0);
lean_inc(x_93);
if (lean_is_exclusive(x_83)) {
 lean_ctor_release(x_83, 0);
 x_94 = x_83;
} else {
 lean_dec_ref(x_83);
 x_94 = lean_box(0);
}
if (lean_is_scalar(x_94)) {
 x_95 = lean_alloc_ctor(1, 1, 0);
} else {
 x_95 = x_94;
}
lean_ctor_set(x_95, 0, x_93);
return x_95;
}
}
else
{
lean_object* x_96; lean_object* x_97; lean_object* x_98; 
lean_dec(x_76);
lean_dec(x_75);
lean_dec(x_71);
lean_dec(x_70);
lean_dec_ref(x_69);
lean_dec(x_68);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
x_96 = lean_ctor_get(x_77, 0);
lean_inc(x_96);
if (lean_is_exclusive(x_77)) {
 lean_ctor_release(x_77, 0);
 x_97 = x_77;
} else {
 lean_dec_ref(x_77);
 x_97 = lean_box(0);
}
if (lean_is_scalar(x_97)) {
 x_98 = lean_alloc_ctor(1, 1, 0);
} else {
 x_98 = x_97;
}
lean_ctor_set(x_98, 0, x_96);
return x_98;
}
}
}
}
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__0(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_10; lean_object* x_11; uint8_t x_12; uint8_t x_13; lean_object* x_14; 
lean_inc_ref(x_1);
x_10 = lean_array_push(x_1, x_4);
x_11 = l_Lean_mkAppN(x_2, x_1);
lean_dec_ref(x_1);
x_12 = 0;
x_13 = 1;
x_14 = l_Lean_Meta_mkForallFVars(x_10, x_11, x_12, x_3, x_3, x_13, x_5, x_6, x_7, x_8);
lean_dec_ref(x_10);
return x_14;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("f", 1, 1);
return x_1;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1___closed__0;
x_2 = l_Lean_Name_mkStr1(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
uint8_t x_10; lean_object* x_11; 
x_10 = lean_unbox(x_3);
x_11 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__0(x_1, x_2, x_10, x_4, x_5, x_6, x_7, x_8);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
return x_11;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 
x_11 = lean_box(x_2);
lean_inc_ref(x_4);
x_12 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__0___boxed), 9, 3);
lean_closure_set(x_12, 0, x_4);
lean_closure_set(x_12, 1, x_1);
lean_closure_set(x_12, 2, x_11);
x_13 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1___closed__1;
x_14 = l_Lean_mkAppN(x_3, x_4);
lean_dec_ref(x_4);
x_15 = l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__3___redArg(x_13, x_14, x_12, x_6, x_7, x_8, x_9);
return x_15;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; 
x_8 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_8, 0, x_1);
return x_8;
}
}
static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("F_", 2, 2);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
uint8_t x_11; lean_object* x_12; 
x_11 = lean_unbox(x_2);
x_12 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
lean_dec_ref(x_5);
return x_12;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__2(x_1, x_2, x_3, x_4, x_5, x_6);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec_ref(x_2);
return x_8;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
uint8_t x_11; 
x_11 = lean_usize_dec_lt(x_4, x_3);
if (x_11 == 0)
{
lean_object* x_12; 
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
x_12 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_12, 0, x_5);
return x_12;
}
else
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_23; 
x_13 = lean_ctor_get(x_5, 1);
lean_inc(x_13);
x_14 = lean_ctor_get(x_5, 0);
lean_inc(x_14);
if (lean_is_exclusive(x_5)) {
 lean_ctor_release(x_5, 0);
 lean_ctor_release(x_5, 1);
 x_15 = x_5;
} else {
 lean_dec_ref(x_5);
 x_15 = lean_box(0);
}
x_16 = lean_ctor_get(x_13, 0);
lean_inc(x_16);
x_17 = lean_ctor_get(x_13, 1);
lean_inc(x_17);
if (lean_is_exclusive(x_13)) {
 lean_ctor_release(x_13, 0);
 lean_ctor_release(x_13, 1);
 x_18 = x_13;
} else {
 lean_dec_ref(x_13);
 x_18 = lean_box(0);
}
x_23 = lean_ctor_get(x_16, 0);
lean_inc(x_23);
if (lean_obj_tag(x_23) == 0)
{
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
goto block_22;
}
else
{
uint8_t x_24; 
x_24 = !lean_is_exclusive(x_23);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; uint8_t x_27; 
x_25 = lean_ctor_get(x_16, 1);
x_26 = lean_ctor_get(x_23, 0);
x_27 = lean_nat_dec_lt(x_26, x_25);
if (x_27 == 0)
{
lean_free_object(x_23);
lean_dec(x_26);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
goto block_22;
}
else
{
uint8_t x_28; 
lean_inc(x_25);
lean_dec(x_18);
lean_dec(x_15);
x_28 = !lean_is_exclusive(x_16);
if (x_28 == 0)
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; 
x_29 = lean_ctor_get(x_16, 1);
lean_dec(x_29);
x_30 = lean_ctor_get(x_16, 0);
lean_dec(x_30);
x_31 = lean_ctor_get(x_14, 0);
x_32 = lean_ctor_get(x_14, 1);
x_33 = lean_ctor_get(x_14, 2);
x_34 = lean_unsigned_to_nat(1u);
x_35 = lean_nat_add(x_26, x_34);
lean_ctor_set(x_23, 0, x_35);
x_36 = lean_nat_dec_lt(x_32, x_33);
if (x_36 == 0)
{
lean_object* x_37; lean_object* x_38; lean_object* x_39; 
lean_dec(x_26);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
x_37 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_37, 0, x_16);
lean_ctor_set(x_37, 1, x_17);
x_38 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_38, 0, x_14);
lean_ctor_set(x_38, 1, x_37);
x_39 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_39, 0, x_38);
return x_39;
}
else
{
uint8_t x_40; 
lean_inc(x_33);
lean_inc(x_32);
lean_inc_ref(x_31);
x_40 = !lean_is_exclusive(x_14);
if (x_40 == 0)
{
lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; 
x_41 = lean_ctor_get(x_14, 2);
lean_dec(x_41);
x_42 = lean_ctor_get(x_14, 1);
lean_dec(x_42);
x_43 = lean_ctor_get(x_14, 0);
lean_dec(x_43);
x_44 = lean_array_uget(x_2, x_4);
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_6);
lean_inc(x_44);
x_45 = lean_infer_type(x_44, x_6, x_7, x_8, x_9);
if (lean_obj_tag(x_45) == 0)
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; 
x_46 = lean_ctor_get(x_45, 0);
lean_inc(x_46);
lean_dec_ref(x_45);
x_47 = lean_array_fget_borrowed(x_31, x_32);
x_48 = lean_box(x_36);
lean_inc(x_47);
x_49 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1___boxed), 10, 3);
lean_closure_set(x_49, 0, x_44);
lean_closure_set(x_49, 1, x_48);
lean_closure_set(x_49, 2, x_47);
x_50 = 0;
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_6);
x_51 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_46, x_49, x_50, x_6, x_7, x_8, x_9);
if (lean_obj_tag(x_51) == 0)
{
lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; size_t x_65; size_t x_66; 
x_52 = lean_ctor_get(x_51, 0);
lean_inc(x_52);
lean_dec_ref(x_51);
x_53 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__2___boxed), 7, 1);
lean_closure_set(x_53, 0, x_52);
x_54 = lean_nat_add(x_32, x_34);
lean_dec(x_32);
lean_ctor_set(x_14, 1, x_54);
x_55 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___closed__0;
x_56 = lean_nat_add(x_26, x_1);
lean_dec(x_26);
x_57 = l_Nat_reprFast(x_56);
x_58 = lean_string_append(x_55, x_57);
lean_dec_ref(x_57);
x_59 = lean_box(0);
x_60 = l_Lean_Name_str___override(x_59, x_58);
x_61 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_61, 0, x_60);
lean_ctor_set(x_61, 1, x_53);
x_62 = lean_array_push(x_17, x_61);
x_63 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_63, 0, x_16);
lean_ctor_set(x_63, 1, x_62);
x_64 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_64, 0, x_14);
lean_ctor_set(x_64, 1, x_63);
x_65 = 1;
x_66 = lean_usize_add(x_4, x_65);
x_4 = x_66;
x_5 = x_64;
goto _start;
}
else
{
uint8_t x_68; 
lean_free_object(x_14);
lean_dec_ref(x_16);
lean_dec(x_33);
lean_dec(x_32);
lean_dec_ref(x_31);
lean_dec(x_26);
lean_dec(x_17);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
x_68 = !lean_is_exclusive(x_51);
if (x_68 == 0)
{
return x_51;
}
else
{
lean_object* x_69; lean_object* x_70; 
x_69 = lean_ctor_get(x_51, 0);
lean_inc(x_69);
lean_dec(x_51);
x_70 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_70, 0, x_69);
return x_70;
}
}
}
else
{
uint8_t x_71; 
lean_dec(x_44);
lean_free_object(x_14);
lean_dec_ref(x_16);
lean_dec(x_33);
lean_dec(x_32);
lean_dec_ref(x_31);
lean_dec(x_26);
lean_dec(x_17);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
x_71 = !lean_is_exclusive(x_45);
if (x_71 == 0)
{
return x_45;
}
else
{
lean_object* x_72; lean_object* x_73; 
x_72 = lean_ctor_get(x_45, 0);
lean_inc(x_72);
lean_dec(x_45);
x_73 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_73, 0, x_72);
return x_73;
}
}
}
else
{
lean_object* x_74; lean_object* x_75; 
lean_dec(x_14);
x_74 = lean_array_uget(x_2, x_4);
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_6);
lean_inc(x_74);
x_75 = lean_infer_type(x_74, x_6, x_7, x_8, x_9);
if (lean_obj_tag(x_75) == 0)
{
lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; 
x_76 = lean_ctor_get(x_75, 0);
lean_inc(x_76);
lean_dec_ref(x_75);
x_77 = lean_array_fget_borrowed(x_31, x_32);
x_78 = lean_box(x_36);
lean_inc(x_77);
x_79 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1___boxed), 10, 3);
lean_closure_set(x_79, 0, x_74);
lean_closure_set(x_79, 1, x_78);
lean_closure_set(x_79, 2, x_77);
x_80 = 0;
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_6);
x_81 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_76, x_79, x_80, x_6, x_7, x_8, x_9);
if (lean_obj_tag(x_81) == 0)
{
lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; size_t x_96; size_t x_97; 
x_82 = lean_ctor_get(x_81, 0);
lean_inc(x_82);
lean_dec_ref(x_81);
x_83 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__2___boxed), 7, 1);
lean_closure_set(x_83, 0, x_82);
x_84 = lean_nat_add(x_32, x_34);
lean_dec(x_32);
x_85 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_85, 0, x_31);
lean_ctor_set(x_85, 1, x_84);
lean_ctor_set(x_85, 2, x_33);
x_86 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___closed__0;
x_87 = lean_nat_add(x_26, x_1);
lean_dec(x_26);
x_88 = l_Nat_reprFast(x_87);
x_89 = lean_string_append(x_86, x_88);
lean_dec_ref(x_88);
x_90 = lean_box(0);
x_91 = l_Lean_Name_str___override(x_90, x_89);
x_92 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_92, 0, x_91);
lean_ctor_set(x_92, 1, x_83);
x_93 = lean_array_push(x_17, x_92);
x_94 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_94, 0, x_16);
lean_ctor_set(x_94, 1, x_93);
x_95 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_95, 0, x_85);
lean_ctor_set(x_95, 1, x_94);
x_96 = 1;
x_97 = lean_usize_add(x_4, x_96);
x_4 = x_97;
x_5 = x_95;
goto _start;
}
else
{
lean_object* x_99; lean_object* x_100; lean_object* x_101; 
lean_dec_ref(x_16);
lean_dec(x_33);
lean_dec(x_32);
lean_dec_ref(x_31);
lean_dec(x_26);
lean_dec(x_17);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
x_99 = lean_ctor_get(x_81, 0);
lean_inc(x_99);
if (lean_is_exclusive(x_81)) {
 lean_ctor_release(x_81, 0);
 x_100 = x_81;
} else {
 lean_dec_ref(x_81);
 x_100 = lean_box(0);
}
if (lean_is_scalar(x_100)) {
 x_101 = lean_alloc_ctor(1, 1, 0);
} else {
 x_101 = x_100;
}
lean_ctor_set(x_101, 0, x_99);
return x_101;
}
}
else
{
lean_object* x_102; lean_object* x_103; lean_object* x_104; 
lean_dec(x_74);
lean_dec_ref(x_16);
lean_dec(x_33);
lean_dec(x_32);
lean_dec_ref(x_31);
lean_dec(x_26);
lean_dec(x_17);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
x_102 = lean_ctor_get(x_75, 0);
lean_inc(x_102);
if (lean_is_exclusive(x_75)) {
 lean_ctor_release(x_75, 0);
 x_103 = x_75;
} else {
 lean_dec_ref(x_75);
 x_103 = lean_box(0);
}
if (lean_is_scalar(x_103)) {
 x_104 = lean_alloc_ctor(1, 1, 0);
} else {
 x_104 = x_103;
}
lean_ctor_set(x_104, 0, x_102);
return x_104;
}
}
}
}
else
{
lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; 
lean_dec(x_16);
x_105 = lean_ctor_get(x_14, 0);
x_106 = lean_ctor_get(x_14, 1);
x_107 = lean_ctor_get(x_14, 2);
x_108 = lean_unsigned_to_nat(1u);
x_109 = lean_nat_add(x_26, x_108);
lean_ctor_set(x_23, 0, x_109);
x_110 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_110, 0, x_23);
lean_ctor_set(x_110, 1, x_25);
x_111 = lean_nat_dec_lt(x_106, x_107);
if (x_111 == 0)
{
lean_object* x_112; lean_object* x_113; lean_object* x_114; 
lean_dec(x_26);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
x_112 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_112, 0, x_110);
lean_ctor_set(x_112, 1, x_17);
x_113 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_113, 0, x_14);
lean_ctor_set(x_113, 1, x_112);
x_114 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_114, 0, x_113);
return x_114;
}
else
{
lean_object* x_115; lean_object* x_116; lean_object* x_117; 
lean_inc(x_107);
lean_inc(x_106);
lean_inc_ref(x_105);
if (lean_is_exclusive(x_14)) {
 lean_ctor_release(x_14, 0);
 lean_ctor_release(x_14, 1);
 lean_ctor_release(x_14, 2);
 x_115 = x_14;
} else {
 lean_dec_ref(x_14);
 x_115 = lean_box(0);
}
x_116 = lean_array_uget(x_2, x_4);
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_6);
lean_inc(x_116);
x_117 = lean_infer_type(x_116, x_6, x_7, x_8, x_9);
if (lean_obj_tag(x_117) == 0)
{
lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; lean_object* x_123; 
x_118 = lean_ctor_get(x_117, 0);
lean_inc(x_118);
lean_dec_ref(x_117);
x_119 = lean_array_fget_borrowed(x_105, x_106);
x_120 = lean_box(x_111);
lean_inc(x_119);
x_121 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1___boxed), 10, 3);
lean_closure_set(x_121, 0, x_116);
lean_closure_set(x_121, 1, x_120);
lean_closure_set(x_121, 2, x_119);
x_122 = 0;
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_6);
x_123 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_118, x_121, x_122, x_6, x_7, x_8, x_9);
if (lean_obj_tag(x_123) == 0)
{
lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; size_t x_138; size_t x_139; 
x_124 = lean_ctor_get(x_123, 0);
lean_inc(x_124);
lean_dec_ref(x_123);
x_125 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__2___boxed), 7, 1);
lean_closure_set(x_125, 0, x_124);
x_126 = lean_nat_add(x_106, x_108);
lean_dec(x_106);
if (lean_is_scalar(x_115)) {
 x_127 = lean_alloc_ctor(0, 3, 0);
} else {
 x_127 = x_115;
}
lean_ctor_set(x_127, 0, x_105);
lean_ctor_set(x_127, 1, x_126);
lean_ctor_set(x_127, 2, x_107);
x_128 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___closed__0;
x_129 = lean_nat_add(x_26, x_1);
lean_dec(x_26);
x_130 = l_Nat_reprFast(x_129);
x_131 = lean_string_append(x_128, x_130);
lean_dec_ref(x_130);
x_132 = lean_box(0);
x_133 = l_Lean_Name_str___override(x_132, x_131);
x_134 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_134, 0, x_133);
lean_ctor_set(x_134, 1, x_125);
x_135 = lean_array_push(x_17, x_134);
x_136 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_136, 0, x_110);
lean_ctor_set(x_136, 1, x_135);
x_137 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_137, 0, x_127);
lean_ctor_set(x_137, 1, x_136);
x_138 = 1;
x_139 = lean_usize_add(x_4, x_138);
x_4 = x_139;
x_5 = x_137;
goto _start;
}
else
{
lean_object* x_141; lean_object* x_142; lean_object* x_143; 
lean_dec(x_115);
lean_dec_ref(x_110);
lean_dec(x_107);
lean_dec(x_106);
lean_dec_ref(x_105);
lean_dec(x_26);
lean_dec(x_17);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
x_141 = lean_ctor_get(x_123, 0);
lean_inc(x_141);
if (lean_is_exclusive(x_123)) {
 lean_ctor_release(x_123, 0);
 x_142 = x_123;
} else {
 lean_dec_ref(x_123);
 x_142 = lean_box(0);
}
if (lean_is_scalar(x_142)) {
 x_143 = lean_alloc_ctor(1, 1, 0);
} else {
 x_143 = x_142;
}
lean_ctor_set(x_143, 0, x_141);
return x_143;
}
}
else
{
lean_object* x_144; lean_object* x_145; lean_object* x_146; 
lean_dec(x_116);
lean_dec(x_115);
lean_dec_ref(x_110);
lean_dec(x_107);
lean_dec(x_106);
lean_dec_ref(x_105);
lean_dec(x_26);
lean_dec(x_17);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
x_144 = lean_ctor_get(x_117, 0);
lean_inc(x_144);
if (lean_is_exclusive(x_117)) {
 lean_ctor_release(x_117, 0);
 x_145 = x_117;
} else {
 lean_dec_ref(x_117);
 x_145 = lean_box(0);
}
if (lean_is_scalar(x_145)) {
 x_146 = lean_alloc_ctor(1, 1, 0);
} else {
 x_146 = x_145;
}
lean_ctor_set(x_146, 0, x_144);
return x_146;
}
}
}
}
}
else
{
lean_object* x_147; lean_object* x_148; uint8_t x_149; 
x_147 = lean_ctor_get(x_16, 1);
x_148 = lean_ctor_get(x_23, 0);
lean_inc(x_148);
lean_dec(x_23);
x_149 = lean_nat_dec_lt(x_148, x_147);
if (x_149 == 0)
{
lean_dec(x_148);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
goto block_22;
}
else
{
lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t x_158; 
lean_inc(x_147);
lean_dec(x_18);
lean_dec(x_15);
if (lean_is_exclusive(x_16)) {
 lean_ctor_release(x_16, 0);
 lean_ctor_release(x_16, 1);
 x_150 = x_16;
} else {
 lean_dec_ref(x_16);
 x_150 = lean_box(0);
}
x_151 = lean_ctor_get(x_14, 0);
x_152 = lean_ctor_get(x_14, 1);
x_153 = lean_ctor_get(x_14, 2);
x_154 = lean_unsigned_to_nat(1u);
x_155 = lean_nat_add(x_148, x_154);
x_156 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_156, 0, x_155);
if (lean_is_scalar(x_150)) {
 x_157 = lean_alloc_ctor(0, 2, 0);
} else {
 x_157 = x_150;
}
lean_ctor_set(x_157, 0, x_156);
lean_ctor_set(x_157, 1, x_147);
x_158 = lean_nat_dec_lt(x_152, x_153);
if (x_158 == 0)
{
lean_object* x_159; lean_object* x_160; lean_object* x_161; 
lean_dec(x_148);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
x_159 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_159, 0, x_157);
lean_ctor_set(x_159, 1, x_17);
x_160 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_160, 0, x_14);
lean_ctor_set(x_160, 1, x_159);
x_161 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_161, 0, x_160);
return x_161;
}
else
{
lean_object* x_162; lean_object* x_163; lean_object* x_164; 
lean_inc(x_153);
lean_inc(x_152);
lean_inc_ref(x_151);
if (lean_is_exclusive(x_14)) {
 lean_ctor_release(x_14, 0);
 lean_ctor_release(x_14, 1);
 lean_ctor_release(x_14, 2);
 x_162 = x_14;
} else {
 lean_dec_ref(x_14);
 x_162 = lean_box(0);
}
x_163 = lean_array_uget(x_2, x_4);
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_6);
lean_inc(x_163);
x_164 = lean_infer_type(x_163, x_6, x_7, x_8, x_9);
if (lean_obj_tag(x_164) == 0)
{
lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; lean_object* x_170; 
x_165 = lean_ctor_get(x_164, 0);
lean_inc(x_165);
lean_dec_ref(x_164);
x_166 = lean_array_fget_borrowed(x_151, x_152);
x_167 = lean_box(x_158);
lean_inc(x_166);
x_168 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1___boxed), 10, 3);
lean_closure_set(x_168, 0, x_163);
lean_closure_set(x_168, 1, x_167);
lean_closure_set(x_168, 2, x_166);
x_169 = 0;
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc(x_7);
lean_inc_ref(x_6);
x_170 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_165, x_168, x_169, x_6, x_7, x_8, x_9);
if (lean_obj_tag(x_170) == 0)
{
lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; size_t x_185; size_t x_186; 
x_171 = lean_ctor_get(x_170, 0);
lean_inc(x_171);
lean_dec_ref(x_170);
x_172 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__2___boxed), 7, 1);
lean_closure_set(x_172, 0, x_171);
x_173 = lean_nat_add(x_152, x_154);
lean_dec(x_152);
if (lean_is_scalar(x_162)) {
 x_174 = lean_alloc_ctor(0, 3, 0);
} else {
 x_174 = x_162;
}
lean_ctor_set(x_174, 0, x_151);
lean_ctor_set(x_174, 1, x_173);
lean_ctor_set(x_174, 2, x_153);
x_175 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___closed__0;
x_176 = lean_nat_add(x_148, x_1);
lean_dec(x_148);
x_177 = l_Nat_reprFast(x_176);
x_178 = lean_string_append(x_175, x_177);
lean_dec_ref(x_177);
x_179 = lean_box(0);
x_180 = l_Lean_Name_str___override(x_179, x_178);
x_181 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_181, 0, x_180);
lean_ctor_set(x_181, 1, x_172);
x_182 = lean_array_push(x_17, x_181);
x_183 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_183, 0, x_157);
lean_ctor_set(x_183, 1, x_182);
x_184 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_184, 0, x_174);
lean_ctor_set(x_184, 1, x_183);
x_185 = 1;
x_186 = lean_usize_add(x_4, x_185);
x_4 = x_186;
x_5 = x_184;
goto _start;
}
else
{
lean_object* x_188; lean_object* x_189; lean_object* x_190; 
lean_dec(x_162);
lean_dec_ref(x_157);
lean_dec(x_153);
lean_dec(x_152);
lean_dec_ref(x_151);
lean_dec(x_148);
lean_dec(x_17);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
x_188 = lean_ctor_get(x_170, 0);
lean_inc(x_188);
if (lean_is_exclusive(x_170)) {
 lean_ctor_release(x_170, 0);
 x_189 = x_170;
} else {
 lean_dec_ref(x_170);
 x_189 = lean_box(0);
}
if (lean_is_scalar(x_189)) {
 x_190 = lean_alloc_ctor(1, 1, 0);
} else {
 x_190 = x_189;
}
lean_ctor_set(x_190, 0, x_188);
return x_190;
}
}
else
{
lean_object* x_191; lean_object* x_192; lean_object* x_193; 
lean_dec(x_163);
lean_dec(x_162);
lean_dec_ref(x_157);
lean_dec(x_153);
lean_dec(x_152);
lean_dec_ref(x_151);
lean_dec(x_148);
lean_dec(x_17);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec(x_7);
lean_dec_ref(x_6);
x_191 = lean_ctor_get(x_164, 0);
lean_inc(x_191);
if (lean_is_exclusive(x_164)) {
 lean_ctor_release(x_164, 0);
 x_192 = x_164;
} else {
 lean_dec_ref(x_164);
 x_192 = lean_box(0);
}
if (lean_is_scalar(x_192)) {
 x_193 = lean_alloc_ctor(1, 1, 0);
} else {
 x_193 = x_192;
}
lean_ctor_set(x_193, 0, x_191);
return x_193;
}
}
}
}
}
block_22:
{
lean_object* x_19; lean_object* x_20; lean_object* x_21; 
if (lean_is_scalar(x_18)) {
 x_19 = lean_alloc_ctor(0, 2, 0);
} else {
 x_19 = x_18;
}
lean_ctor_set(x_19, 0, x_16);
lean_ctor_set(x_19, 1, x_17);
if (lean_is_scalar(x_15)) {
 x_20 = lean_alloc_ctor(0, 2, 0);
} else {
 x_20 = x_15;
}
lean_ctor_set(x_20, 0, x_14);
lean_ctor_set(x_20, 1, x_19);
x_21 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_21, 0, x_20);
return x_21;
}
}
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__0___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("below_", 6, 6);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; lean_object* x_13; uint8_t x_14; 
x_13 = lean_array_get_size(x_4);
x_14 = lean_nat_dec_lt(x_7, x_13);
if (x_14 == 0)
{
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; 
x_15 = lean_box(0);
x_16 = lean_array_get_borrowed(x_15, x_4, x_5);
x_17 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__0___closed__0;
x_18 = lean_nat_sub(x_7, x_13);
lean_dec(x_13);
x_19 = lean_nat_add(x_18, x_6);
lean_dec(x_18);
x_20 = l_Nat_reprFast(x_19);
x_21 = lean_string_append(x_17, x_20);
lean_dec_ref(x_20);
lean_inc(x_16);
x_22 = l_Lean_Name_str___override(x_16, x_21);
x_8 = x_22;
goto block_12;
}
else
{
lean_object* x_23; lean_object* x_24; 
lean_dec(x_13);
x_23 = lean_array_fget_borrowed(x_4, x_7);
lean_inc(x_23);
x_24 = l_Lean_mkBelowName(x_23);
x_8 = x_24;
goto block_12;
}
block_12:
{
lean_object* x_9; lean_object* x_10; lean_object* x_11; 
x_9 = l_Lean_Expr_const___override(x_8, x_1);
x_10 = l_Array_append___redArg(x_2, x_3);
x_11 = l_Lean_mkAppN(x_9, x_10);
lean_dec_ref(x_10);
return x_11;
}
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, uint8_t x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22, lean_object* x_23, lean_object* x_24, lean_object* x_25, lean_object* x_26, lean_object* x_27) {
_start:
{
lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 
lean_inc(x_1);
x_29 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_29, 0, x_1);
lean_ctor_set(x_29, 1, x_2);
x_30 = l_Lean_Expr_const___override(x_3, x_29);
x_31 = l_Lean_mkAppN(x_30, x_4);
x_32 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_32, 0, x_5);
lean_ctor_set(x_32, 1, x_31);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_33 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__2(x_6, x_7, x_8, x_32, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_33) == 0)
{
lean_object* x_34; uint8_t x_35; 
x_34 = lean_ctor_get(x_33, 0);
lean_inc(x_34);
lean_dec_ref(x_33);
x_35 = !lean_is_exclusive(x_34);
if (x_35 == 0)
{
lean_object* x_36; lean_object* x_37; size_t x_38; lean_object* x_39; 
x_36 = lean_ctor_get(x_34, 1);
x_37 = lean_ctor_get(x_34, 0);
lean_dec(x_37);
x_38 = lean_array_size(x_9);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
lean_inc_ref(x_23);
lean_inc_ref(x_10);
lean_inc_ref(x_6);
x_39 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__3(x_1, x_6, x_10, x_23, x_9, x_38, x_8, x_36, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_39) == 0)
{
lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; 
x_40 = lean_ctor_get(x_39, 0);
lean_inc(x_40);
lean_dec_ref(x_39);
lean_inc_ref(x_11);
x_41 = lean_array_get_borrowed(x_11, x_6, x_12);
lean_inc_ref(x_14);
lean_inc_ref(x_13);
x_42 = lean_array_push(x_13, x_14);
lean_inc(x_41);
x_43 = l_Lean_mkAppN(x_41, x_42);
lean_inc_ref(x_11);
x_44 = lean_array_get(x_11, x_10, x_12);
lean_dec_ref(x_10);
x_45 = l_Lean_mkAppN(x_44, x_42);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
lean_inc_ref(x_43);
x_46 = l_Lean_Meta_mkPProd(x_43, x_45, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_46) == 0)
{
lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; uint8_t x_55; lean_object* x_56; 
x_47 = lean_ctor_get(x_46, 0);
lean_inc(x_47);
lean_dec_ref(x_46);
x_48 = l_Array_append___redArg(x_4, x_6);
lean_dec_ref(x_6);
x_49 = l_Array_append___redArg(x_48, x_13);
x_50 = lean_mk_empty_array_with_capacity(x_15);
lean_inc_ref(x_14);
x_51 = lean_array_push(x_50, x_14);
x_52 = l_Array_append___redArg(x_49, x_51);
lean_dec_ref(x_51);
x_53 = l_Array_append___redArg(x_52, x_23);
x_54 = 0;
x_55 = 1;
x_56 = l_Lean_Meta_mkForallFVars(x_53, x_47, x_54, x_16, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_56) == 0)
{
lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 
x_57 = lean_ctor_get(x_56, 0);
lean_inc(x_57);
lean_dec_ref(x_56);
x_58 = l_Lean_mkAppN(x_40, x_13);
lean_dec_ref(x_13);
lean_inc_ref(x_14);
x_59 = l_Lean_Expr_app___override(x_58, x_14);
x_60 = l_Lean_Meta_mkLambdaFVars(x_53, x_59, x_54, x_16, x_54, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_60) == 0)
{
lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; 
x_61 = lean_ctor_get(x_60, 0);
lean_inc(x_61);
lean_dec_ref(x_60);
x_62 = lean_box(1);
lean_inc(x_18);
lean_inc(x_17);
x_63 = l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13___redArg(x_17, x_18, x_57, x_61, x_62, x_27);
x_64 = !lean_is_exclusive(x_63);
if (x_64 == 0)
{
lean_object* x_65; lean_object* x_66; 
x_65 = lean_ctor_get(x_63, 0);
lean_inc(x_65);
lean_ctor_set_tag(x_63, 1);
lean_inc(x_27);
lean_inc_ref(x_26);
x_66 = l_Lean_addDecl(x_63, x_54, x_26, x_27);
if (lean_obj_tag(x_66) == 0)
{
lean_object* x_67; uint8_t x_68; 
lean_dec_ref(x_66);
x_67 = lean_ctor_get(x_65, 0);
lean_inc_ref(x_67);
lean_dec(x_65);
x_68 = !lean_is_exclusive(x_67);
if (x_68 == 0)
{
lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; 
x_69 = lean_ctor_get(x_67, 0);
x_70 = lean_ctor_get(x_67, 2);
lean_dec(x_70);
x_71 = lean_ctor_get(x_67, 1);
lean_dec(x_71);
lean_inc(x_69);
x_72 = l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14(x_69, x_24, x_25, x_26, x_27);
lean_dec_ref(x_72);
x_73 = lean_st_ref_take(x_27);
x_74 = !lean_is_exclusive(x_73);
if (x_74 == 0)
{
lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; 
x_75 = lean_ctor_get(x_73, 0);
x_76 = lean_ctor_get(x_73, 5);
lean_dec(x_76);
x_77 = l_Lean_addProtected(x_75, x_69);
x_78 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__2;
lean_ctor_set(x_73, 5, x_78);
lean_ctor_set(x_73, 0, x_77);
x_79 = lean_st_ref_set(x_27, x_73);
x_80 = lean_st_ref_take(x_25);
x_81 = !lean_is_exclusive(x_80);
if (x_81 == 0)
{
lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; 
x_82 = lean_ctor_get(x_80, 1);
lean_dec(x_82);
x_83 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3;
lean_ctor_set(x_80, 1, x_83);
x_84 = lean_st_ref_set(x_25, x_80);
lean_inc(x_19);
x_85 = l_Lean_Expr_const___override(x_17, x_19);
x_86 = l_Lean_mkAppN(x_85, x_53);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
lean_inc_ref(x_86);
x_87 = l_Lean_Meta_mkPProdFstM(x_86, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_87) == 0)
{
lean_object* x_88; lean_object* x_89; 
x_88 = lean_ctor_get(x_87, 0);
lean_inc(x_88);
lean_dec_ref(x_87);
x_89 = l_Lean_Meta_mkLambdaFVars(x_53, x_88, x_54, x_16, x_54, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_89) == 0)
{
lean_object* x_90; lean_object* x_91; 
x_90 = lean_ctor_get(x_89, 0);
lean_inc(x_90);
lean_dec_ref(x_89);
x_91 = l_Lean_Meta_mkForallFVars(x_53, x_43, x_54, x_16, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_91) == 0)
{
lean_object* x_92; lean_object* x_93; uint8_t x_94; 
x_92 = lean_ctor_get(x_91, 0);
lean_inc(x_92);
lean_dec_ref(x_91);
lean_inc(x_18);
x_93 = l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13___redArg(x_20, x_18, x_92, x_90, x_62, x_27);
x_94 = !lean_is_exclusive(x_93);
if (x_94 == 0)
{
lean_object* x_95; lean_object* x_96; 
x_95 = lean_ctor_get(x_93, 0);
lean_inc(x_95);
lean_ctor_set_tag(x_93, 1);
lean_inc(x_27);
lean_inc_ref(x_26);
x_96 = l_Lean_addDecl(x_93, x_54, x_26, x_27);
if (lean_obj_tag(x_96) == 0)
{
lean_object* x_97; uint8_t x_98; 
lean_dec_ref(x_96);
x_97 = lean_ctor_get(x_95, 0);
lean_inc_ref(x_97);
lean_dec(x_95);
x_98 = !lean_is_exclusive(x_97);
if (x_98 == 0)
{
lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; 
x_99 = lean_ctor_get(x_97, 0);
x_100 = lean_ctor_get(x_97, 2);
lean_dec(x_100);
x_101 = lean_ctor_get(x_97, 1);
lean_dec(x_101);
lean_inc(x_99);
x_102 = l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14(x_99, x_24, x_25, x_26, x_27);
lean_dec_ref(x_102);
x_103 = lean_st_ref_take(x_27);
x_104 = !lean_is_exclusive(x_103);
if (x_104 == 0)
{
lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; 
x_105 = lean_ctor_get(x_103, 0);
x_106 = lean_ctor_get(x_103, 5);
lean_dec(x_106);
lean_inc(x_99);
x_107 = l_Lean_markAuxRecursor(x_105, x_99);
lean_ctor_set(x_103, 5, x_78);
lean_ctor_set(x_103, 0, x_107);
x_108 = lean_st_ref_set(x_27, x_103);
x_109 = lean_st_ref_take(x_25);
x_110 = !lean_is_exclusive(x_109);
if (x_110 == 0)
{
lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; 
x_111 = lean_ctor_get(x_109, 1);
lean_dec(x_111);
lean_ctor_set(x_109, 1, x_83);
x_112 = lean_st_ref_set(x_25, x_109);
x_113 = lean_st_ref_take(x_27);
x_114 = !lean_is_exclusive(x_113);
if (x_114 == 0)
{
lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; 
x_115 = lean_ctor_get(x_113, 0);
x_116 = lean_ctor_get(x_113, 5);
lean_dec(x_116);
lean_inc(x_99);
x_117 = l_Lean_addProtected(x_115, x_99);
lean_ctor_set(x_113, 5, x_78);
lean_ctor_set(x_113, 0, x_117);
x_118 = lean_st_ref_set(x_27, x_113);
x_119 = lean_st_ref_take(x_25);
x_120 = !lean_is_exclusive(x_119);
if (x_120 == 0)
{
lean_object* x_121; lean_object* x_122; lean_object* x_123; 
x_121 = lean_ctor_get(x_119, 1);
lean_dec(x_121);
lean_ctor_set(x_119, 1, x_83);
x_122 = lean_st_ref_set(x_25, x_119);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_123 = l_Lean_Meta_mkPProdSndM(x_86, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_123) == 0)
{
lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; 
x_124 = lean_ctor_get(x_123, 0);
lean_inc(x_124);
lean_dec_ref(x_123);
x_125 = l_Lean_Expr_const___override(x_99, x_19);
x_126 = l_Lean_mkAppN(x_125, x_53);
x_127 = lean_array_get(x_11, x_23, x_12);
lean_dec_ref(x_23);
x_128 = l_Lean_mkAppN(x_127, x_42);
lean_dec_ref(x_42);
x_129 = l_Lean_Expr_app___override(x_128, x_124);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_130 = l_Lean_Meta_mkEq(x_126, x_129, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_130) == 0)
{
lean_object* x_131; lean_object* x_132; lean_object* x_133; 
x_131 = lean_ctor_get(x_130, 0);
lean_inc(x_131);
lean_dec_ref(x_130);
x_132 = lean_box(0);
lean_inc_ref(x_24);
lean_inc(x_131);
x_133 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_131, x_132, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_133) == 0)
{
lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; 
x_134 = lean_ctor_get(x_133, 0);
lean_inc(x_134);
lean_dec_ref(x_133);
x_135 = l_Lean_Expr_mvarId_x21(x_134);
x_136 = l_Lean_Expr_fvarId_x21(x_14);
lean_dec_ref(x_14);
x_137 = lean_mk_empty_array_with_capacity(x_21);
x_138 = lean_box(0);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_139 = l_Lean_MVarId_cases(x_135, x_136, x_137, x_54, x_138, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_139) == 0)
{
lean_object* x_140; lean_object* x_141; size_t x_142; lean_object* x_143; 
x_140 = lean_ctor_get(x_139, 0);
lean_inc(x_140);
lean_dec_ref(x_139);
x_141 = lean_box(0);
x_142 = lean_array_size(x_140);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_143 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__4(x_54, x_141, x_140, x_142, x_8, x_141, x_24, x_25, x_26, x_27);
lean_dec(x_140);
if (lean_obj_tag(x_143) == 0)
{
lean_object* x_144; lean_object* x_145; lean_object* x_146; 
lean_dec_ref(x_143);
x_144 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___redArg(x_134, x_25);
x_145 = lean_ctor_get(x_144, 0);
lean_inc(x_145);
lean_dec_ref(x_144);
x_146 = l_Lean_Meta_mkForallFVars(x_53, x_131, x_54, x_16, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_146) == 0)
{
lean_object* x_147; lean_object* x_148; 
x_147 = lean_ctor_get(x_146, 0);
lean_inc(x_147);
lean_dec_ref(x_146);
x_148 = l_Lean_Meta_mkLambdaFVars(x_53, x_145, x_54, x_16, x_54, x_16, x_55, x_24, x_25, x_26, x_27);
lean_dec_ref(x_24);
lean_dec_ref(x_53);
if (lean_obj_tag(x_148) == 0)
{
lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; 
x_149 = lean_ctor_get(x_148, 0);
lean_inc(x_149);
lean_dec_ref(x_148);
lean_inc(x_22);
lean_ctor_set(x_97, 2, x_147);
lean_ctor_set(x_97, 1, x_18);
lean_ctor_set(x_97, 0, x_22);
x_150 = lean_box(0);
lean_inc(x_22);
lean_ctor_set_tag(x_34, 1);
lean_ctor_set(x_34, 1, x_150);
lean_ctor_set(x_34, 0, x_22);
lean_ctor_set(x_67, 2, x_34);
lean_ctor_set(x_67, 1, x_149);
lean_ctor_set(x_67, 0, x_97);
x_151 = l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___redArg(x_67, x_27);
x_152 = lean_ctor_get(x_151, 0);
lean_inc(x_152);
lean_dec_ref(x_151);
lean_inc(x_27);
x_153 = l_Lean_addDecl(x_152, x_54, x_26, x_27);
if (lean_obj_tag(x_153) == 0)
{
uint8_t x_154; 
x_154 = !lean_is_exclusive(x_153);
if (x_154 == 0)
{
lean_object* x_155; lean_object* x_156; uint8_t x_157; 
x_155 = lean_ctor_get(x_153, 0);
lean_dec(x_155);
x_156 = lean_st_ref_take(x_27);
x_157 = !lean_is_exclusive(x_156);
if (x_157 == 0)
{
lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; 
x_158 = lean_ctor_get(x_156, 0);
x_159 = lean_ctor_get(x_156, 5);
lean_dec(x_159);
x_160 = l_Lean_addProtected(x_158, x_22);
lean_ctor_set(x_156, 5, x_78);
lean_ctor_set(x_156, 0, x_160);
x_161 = lean_st_ref_set(x_27, x_156);
lean_dec(x_27);
x_162 = lean_st_ref_take(x_25);
x_163 = !lean_is_exclusive(x_162);
if (x_163 == 0)
{
lean_object* x_164; lean_object* x_165; 
x_164 = lean_ctor_get(x_162, 1);
lean_dec(x_164);
lean_ctor_set(x_162, 1, x_83);
x_165 = lean_st_ref_set(x_25, x_162);
lean_dec(x_25);
lean_ctor_set(x_153, 0, x_141);
return x_153;
}
else
{
lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; 
x_166 = lean_ctor_get(x_162, 0);
x_167 = lean_ctor_get(x_162, 2);
x_168 = lean_ctor_get(x_162, 3);
x_169 = lean_ctor_get(x_162, 4);
lean_inc(x_169);
lean_inc(x_168);
lean_inc(x_167);
lean_inc(x_166);
lean_dec(x_162);
x_170 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_170, 0, x_166);
lean_ctor_set(x_170, 1, x_83);
lean_ctor_set(x_170, 2, x_167);
lean_ctor_set(x_170, 3, x_168);
lean_ctor_set(x_170, 4, x_169);
x_171 = lean_st_ref_set(x_25, x_170);
lean_dec(x_25);
lean_ctor_set(x_153, 0, x_141);
return x_153;
}
}
else
{
lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; 
x_172 = lean_ctor_get(x_156, 0);
x_173 = lean_ctor_get(x_156, 1);
x_174 = lean_ctor_get(x_156, 2);
x_175 = lean_ctor_get(x_156, 3);
x_176 = lean_ctor_get(x_156, 4);
x_177 = lean_ctor_get(x_156, 6);
x_178 = lean_ctor_get(x_156, 7);
x_179 = lean_ctor_get(x_156, 8);
lean_inc(x_179);
lean_inc(x_178);
lean_inc(x_177);
lean_inc(x_176);
lean_inc(x_175);
lean_inc(x_174);
lean_inc(x_173);
lean_inc(x_172);
lean_dec(x_156);
x_180 = l_Lean_addProtected(x_172, x_22);
x_181 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_181, 0, x_180);
lean_ctor_set(x_181, 1, x_173);
lean_ctor_set(x_181, 2, x_174);
lean_ctor_set(x_181, 3, x_175);
lean_ctor_set(x_181, 4, x_176);
lean_ctor_set(x_181, 5, x_78);
lean_ctor_set(x_181, 6, x_177);
lean_ctor_set(x_181, 7, x_178);
lean_ctor_set(x_181, 8, x_179);
x_182 = lean_st_ref_set(x_27, x_181);
lean_dec(x_27);
x_183 = lean_st_ref_take(x_25);
x_184 = lean_ctor_get(x_183, 0);
lean_inc_ref(x_184);
x_185 = lean_ctor_get(x_183, 2);
lean_inc(x_185);
x_186 = lean_ctor_get(x_183, 3);
lean_inc_ref(x_186);
x_187 = lean_ctor_get(x_183, 4);
lean_inc_ref(x_187);
if (lean_is_exclusive(x_183)) {
 lean_ctor_release(x_183, 0);
 lean_ctor_release(x_183, 1);
 lean_ctor_release(x_183, 2);
 lean_ctor_release(x_183, 3);
 lean_ctor_release(x_183, 4);
 x_188 = x_183;
} else {
 lean_dec_ref(x_183);
 x_188 = lean_box(0);
}
if (lean_is_scalar(x_188)) {
 x_189 = lean_alloc_ctor(0, 5, 0);
} else {
 x_189 = x_188;
}
lean_ctor_set(x_189, 0, x_184);
lean_ctor_set(x_189, 1, x_83);
lean_ctor_set(x_189, 2, x_185);
lean_ctor_set(x_189, 3, x_186);
lean_ctor_set(x_189, 4, x_187);
x_190 = lean_st_ref_set(x_25, x_189);
lean_dec(x_25);
lean_ctor_set(x_153, 0, x_141);
return x_153;
}
}
else
{
lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; 
lean_dec(x_153);
x_191 = lean_st_ref_take(x_27);
x_192 = lean_ctor_get(x_191, 0);
lean_inc_ref(x_192);
x_193 = lean_ctor_get(x_191, 1);
lean_inc(x_193);
x_194 = lean_ctor_get(x_191, 2);
lean_inc_ref(x_194);
x_195 = lean_ctor_get(x_191, 3);
lean_inc_ref(x_195);
x_196 = lean_ctor_get(x_191, 4);
lean_inc_ref(x_196);
x_197 = lean_ctor_get(x_191, 6);
lean_inc_ref(x_197);
x_198 = lean_ctor_get(x_191, 7);
lean_inc_ref(x_198);
x_199 = lean_ctor_get(x_191, 8);
lean_inc_ref(x_199);
if (lean_is_exclusive(x_191)) {
 lean_ctor_release(x_191, 0);
 lean_ctor_release(x_191, 1);
 lean_ctor_release(x_191, 2);
 lean_ctor_release(x_191, 3);
 lean_ctor_release(x_191, 4);
 lean_ctor_release(x_191, 5);
 lean_ctor_release(x_191, 6);
 lean_ctor_release(x_191, 7);
 lean_ctor_release(x_191, 8);
 x_200 = x_191;
} else {
 lean_dec_ref(x_191);
 x_200 = lean_box(0);
}
x_201 = l_Lean_addProtected(x_192, x_22);
if (lean_is_scalar(x_200)) {
 x_202 = lean_alloc_ctor(0, 9, 0);
} else {
 x_202 = x_200;
}
lean_ctor_set(x_202, 0, x_201);
lean_ctor_set(x_202, 1, x_193);
lean_ctor_set(x_202, 2, x_194);
lean_ctor_set(x_202, 3, x_195);
lean_ctor_set(x_202, 4, x_196);
lean_ctor_set(x_202, 5, x_78);
lean_ctor_set(x_202, 6, x_197);
lean_ctor_set(x_202, 7, x_198);
lean_ctor_set(x_202, 8, x_199);
x_203 = lean_st_ref_set(x_27, x_202);
lean_dec(x_27);
x_204 = lean_st_ref_take(x_25);
x_205 = lean_ctor_get(x_204, 0);
lean_inc_ref(x_205);
x_206 = lean_ctor_get(x_204, 2);
lean_inc(x_206);
x_207 = lean_ctor_get(x_204, 3);
lean_inc_ref(x_207);
x_208 = lean_ctor_get(x_204, 4);
lean_inc_ref(x_208);
if (lean_is_exclusive(x_204)) {
 lean_ctor_release(x_204, 0);
 lean_ctor_release(x_204, 1);
 lean_ctor_release(x_204, 2);
 lean_ctor_release(x_204, 3);
 lean_ctor_release(x_204, 4);
 x_209 = x_204;
} else {
 lean_dec_ref(x_204);
 x_209 = lean_box(0);
}
if (lean_is_scalar(x_209)) {
 x_210 = lean_alloc_ctor(0, 5, 0);
} else {
 x_210 = x_209;
}
lean_ctor_set(x_210, 0, x_205);
lean_ctor_set(x_210, 1, x_83);
lean_ctor_set(x_210, 2, x_206);
lean_ctor_set(x_210, 3, x_207);
lean_ctor_set(x_210, 4, x_208);
x_211 = lean_st_ref_set(x_25, x_210);
lean_dec(x_25);
x_212 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_212, 0, x_141);
return x_212;
}
}
else
{
lean_dec(x_27);
lean_dec(x_25);
lean_dec(x_22);
return x_153;
}
}
else
{
uint8_t x_213; 
lean_dec(x_147);
lean_free_object(x_97);
lean_free_object(x_67);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec(x_22);
lean_dec(x_18);
x_213 = !lean_is_exclusive(x_148);
if (x_213 == 0)
{
return x_148;
}
else
{
lean_object* x_214; lean_object* x_215; 
x_214 = lean_ctor_get(x_148, 0);
lean_inc(x_214);
lean_dec(x_148);
x_215 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_215, 0, x_214);
return x_215;
}
}
}
else
{
uint8_t x_216; 
lean_dec(x_145);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_216 = !lean_is_exclusive(x_146);
if (x_216 == 0)
{
return x_146;
}
else
{
lean_object* x_217; lean_object* x_218; 
x_217 = lean_ctor_get(x_146, 0);
lean_inc(x_217);
lean_dec(x_146);
x_218 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_218, 0, x_217);
return x_218;
}
}
}
else
{
lean_dec(x_134);
lean_dec(x_131);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
return x_143;
}
}
else
{
uint8_t x_219; 
lean_dec(x_134);
lean_dec(x_131);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_219 = !lean_is_exclusive(x_139);
if (x_219 == 0)
{
return x_139;
}
else
{
lean_object* x_220; lean_object* x_221; 
x_220 = lean_ctor_get(x_139, 0);
lean_inc(x_220);
lean_dec(x_139);
x_221 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_221, 0, x_220);
return x_221;
}
}
}
else
{
uint8_t x_222; 
lean_dec(x_131);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_222 = !lean_is_exclusive(x_133);
if (x_222 == 0)
{
return x_133;
}
else
{
lean_object* x_223; lean_object* x_224; 
x_223 = lean_ctor_get(x_133, 0);
lean_inc(x_223);
lean_dec(x_133);
x_224 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_224, 0, x_223);
return x_224;
}
}
}
else
{
uint8_t x_225; 
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_225 = !lean_is_exclusive(x_130);
if (x_225 == 0)
{
return x_130;
}
else
{
lean_object* x_226; lean_object* x_227; 
x_226 = lean_ctor_get(x_130, 0);
lean_inc(x_226);
lean_dec(x_130);
x_227 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_227, 0, x_226);
return x_227;
}
}
}
else
{
uint8_t x_228; 
lean_free_object(x_97);
lean_dec(x_99);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_228 = !lean_is_exclusive(x_123);
if (x_228 == 0)
{
return x_123;
}
else
{
lean_object* x_229; lean_object* x_230; 
x_229 = lean_ctor_get(x_123, 0);
lean_inc(x_229);
lean_dec(x_123);
x_230 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_230, 0, x_229);
return x_230;
}
}
}
else
{
lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; 
x_231 = lean_ctor_get(x_119, 0);
x_232 = lean_ctor_get(x_119, 2);
x_233 = lean_ctor_get(x_119, 3);
x_234 = lean_ctor_get(x_119, 4);
lean_inc(x_234);
lean_inc(x_233);
lean_inc(x_232);
lean_inc(x_231);
lean_dec(x_119);
x_235 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_235, 0, x_231);
lean_ctor_set(x_235, 1, x_83);
lean_ctor_set(x_235, 2, x_232);
lean_ctor_set(x_235, 3, x_233);
lean_ctor_set(x_235, 4, x_234);
x_236 = lean_st_ref_set(x_25, x_235);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_237 = l_Lean_Meta_mkPProdSndM(x_86, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_237) == 0)
{
lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; 
x_238 = lean_ctor_get(x_237, 0);
lean_inc(x_238);
lean_dec_ref(x_237);
x_239 = l_Lean_Expr_const___override(x_99, x_19);
x_240 = l_Lean_mkAppN(x_239, x_53);
x_241 = lean_array_get(x_11, x_23, x_12);
lean_dec_ref(x_23);
x_242 = l_Lean_mkAppN(x_241, x_42);
lean_dec_ref(x_42);
x_243 = l_Lean_Expr_app___override(x_242, x_238);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_244 = l_Lean_Meta_mkEq(x_240, x_243, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_244) == 0)
{
lean_object* x_245; lean_object* x_246; lean_object* x_247; 
x_245 = lean_ctor_get(x_244, 0);
lean_inc(x_245);
lean_dec_ref(x_244);
x_246 = lean_box(0);
lean_inc_ref(x_24);
lean_inc(x_245);
x_247 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_245, x_246, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_247) == 0)
{
lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; 
x_248 = lean_ctor_get(x_247, 0);
lean_inc(x_248);
lean_dec_ref(x_247);
x_249 = l_Lean_Expr_mvarId_x21(x_248);
x_250 = l_Lean_Expr_fvarId_x21(x_14);
lean_dec_ref(x_14);
x_251 = lean_mk_empty_array_with_capacity(x_21);
x_252 = lean_box(0);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_253 = l_Lean_MVarId_cases(x_249, x_250, x_251, x_54, x_252, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_253) == 0)
{
lean_object* x_254; lean_object* x_255; size_t x_256; lean_object* x_257; 
x_254 = lean_ctor_get(x_253, 0);
lean_inc(x_254);
lean_dec_ref(x_253);
x_255 = lean_box(0);
x_256 = lean_array_size(x_254);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_257 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__4(x_54, x_255, x_254, x_256, x_8, x_255, x_24, x_25, x_26, x_27);
lean_dec(x_254);
if (lean_obj_tag(x_257) == 0)
{
lean_object* x_258; lean_object* x_259; lean_object* x_260; 
lean_dec_ref(x_257);
x_258 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___redArg(x_248, x_25);
x_259 = lean_ctor_get(x_258, 0);
lean_inc(x_259);
lean_dec_ref(x_258);
x_260 = l_Lean_Meta_mkForallFVars(x_53, x_245, x_54, x_16, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_260) == 0)
{
lean_object* x_261; lean_object* x_262; 
x_261 = lean_ctor_get(x_260, 0);
lean_inc(x_261);
lean_dec_ref(x_260);
x_262 = l_Lean_Meta_mkLambdaFVars(x_53, x_259, x_54, x_16, x_54, x_16, x_55, x_24, x_25, x_26, x_27);
lean_dec_ref(x_24);
lean_dec_ref(x_53);
if (lean_obj_tag(x_262) == 0)
{
lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; 
x_263 = lean_ctor_get(x_262, 0);
lean_inc(x_263);
lean_dec_ref(x_262);
lean_inc(x_22);
lean_ctor_set(x_97, 2, x_261);
lean_ctor_set(x_97, 1, x_18);
lean_ctor_set(x_97, 0, x_22);
x_264 = lean_box(0);
lean_inc(x_22);
lean_ctor_set_tag(x_34, 1);
lean_ctor_set(x_34, 1, x_264);
lean_ctor_set(x_34, 0, x_22);
lean_ctor_set(x_67, 2, x_34);
lean_ctor_set(x_67, 1, x_263);
lean_ctor_set(x_67, 0, x_97);
x_265 = l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___redArg(x_67, x_27);
x_266 = lean_ctor_get(x_265, 0);
lean_inc(x_266);
lean_dec_ref(x_265);
lean_inc(x_27);
x_267 = l_Lean_addDecl(x_266, x_54, x_26, x_27);
if (lean_obj_tag(x_267) == 0)
{
lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; 
if (lean_is_exclusive(x_267)) {
 lean_ctor_release(x_267, 0);
 x_268 = x_267;
} else {
 lean_dec_ref(x_267);
 x_268 = lean_box(0);
}
x_269 = lean_st_ref_take(x_27);
x_270 = lean_ctor_get(x_269, 0);
lean_inc_ref(x_270);
x_271 = lean_ctor_get(x_269, 1);
lean_inc(x_271);
x_272 = lean_ctor_get(x_269, 2);
lean_inc_ref(x_272);
x_273 = lean_ctor_get(x_269, 3);
lean_inc_ref(x_273);
x_274 = lean_ctor_get(x_269, 4);
lean_inc_ref(x_274);
x_275 = lean_ctor_get(x_269, 6);
lean_inc_ref(x_275);
x_276 = lean_ctor_get(x_269, 7);
lean_inc_ref(x_276);
x_277 = lean_ctor_get(x_269, 8);
lean_inc_ref(x_277);
if (lean_is_exclusive(x_269)) {
 lean_ctor_release(x_269, 0);
 lean_ctor_release(x_269, 1);
 lean_ctor_release(x_269, 2);
 lean_ctor_release(x_269, 3);
 lean_ctor_release(x_269, 4);
 lean_ctor_release(x_269, 5);
 lean_ctor_release(x_269, 6);
 lean_ctor_release(x_269, 7);
 lean_ctor_release(x_269, 8);
 x_278 = x_269;
} else {
 lean_dec_ref(x_269);
 x_278 = lean_box(0);
}
x_279 = l_Lean_addProtected(x_270, x_22);
if (lean_is_scalar(x_278)) {
 x_280 = lean_alloc_ctor(0, 9, 0);
} else {
 x_280 = x_278;
}
lean_ctor_set(x_280, 0, x_279);
lean_ctor_set(x_280, 1, x_271);
lean_ctor_set(x_280, 2, x_272);
lean_ctor_set(x_280, 3, x_273);
lean_ctor_set(x_280, 4, x_274);
lean_ctor_set(x_280, 5, x_78);
lean_ctor_set(x_280, 6, x_275);
lean_ctor_set(x_280, 7, x_276);
lean_ctor_set(x_280, 8, x_277);
x_281 = lean_st_ref_set(x_27, x_280);
lean_dec(x_27);
x_282 = lean_st_ref_take(x_25);
x_283 = lean_ctor_get(x_282, 0);
lean_inc_ref(x_283);
x_284 = lean_ctor_get(x_282, 2);
lean_inc(x_284);
x_285 = lean_ctor_get(x_282, 3);
lean_inc_ref(x_285);
x_286 = lean_ctor_get(x_282, 4);
lean_inc_ref(x_286);
if (lean_is_exclusive(x_282)) {
 lean_ctor_release(x_282, 0);
 lean_ctor_release(x_282, 1);
 lean_ctor_release(x_282, 2);
 lean_ctor_release(x_282, 3);
 lean_ctor_release(x_282, 4);
 x_287 = x_282;
} else {
 lean_dec_ref(x_282);
 x_287 = lean_box(0);
}
if (lean_is_scalar(x_287)) {
 x_288 = lean_alloc_ctor(0, 5, 0);
} else {
 x_288 = x_287;
}
lean_ctor_set(x_288, 0, x_283);
lean_ctor_set(x_288, 1, x_83);
lean_ctor_set(x_288, 2, x_284);
lean_ctor_set(x_288, 3, x_285);
lean_ctor_set(x_288, 4, x_286);
x_289 = lean_st_ref_set(x_25, x_288);
lean_dec(x_25);
if (lean_is_scalar(x_268)) {
 x_290 = lean_alloc_ctor(0, 1, 0);
} else {
 x_290 = x_268;
}
lean_ctor_set(x_290, 0, x_255);
return x_290;
}
else
{
lean_dec(x_27);
lean_dec(x_25);
lean_dec(x_22);
return x_267;
}
}
else
{
lean_object* x_291; lean_object* x_292; lean_object* x_293; 
lean_dec(x_261);
lean_free_object(x_97);
lean_free_object(x_67);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec(x_22);
lean_dec(x_18);
x_291 = lean_ctor_get(x_262, 0);
lean_inc(x_291);
if (lean_is_exclusive(x_262)) {
 lean_ctor_release(x_262, 0);
 x_292 = x_262;
} else {
 lean_dec_ref(x_262);
 x_292 = lean_box(0);
}
if (lean_is_scalar(x_292)) {
 x_293 = lean_alloc_ctor(1, 1, 0);
} else {
 x_293 = x_292;
}
lean_ctor_set(x_293, 0, x_291);
return x_293;
}
}
else
{
lean_object* x_294; lean_object* x_295; lean_object* x_296; 
lean_dec(x_259);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_294 = lean_ctor_get(x_260, 0);
lean_inc(x_294);
if (lean_is_exclusive(x_260)) {
 lean_ctor_release(x_260, 0);
 x_295 = x_260;
} else {
 lean_dec_ref(x_260);
 x_295 = lean_box(0);
}
if (lean_is_scalar(x_295)) {
 x_296 = lean_alloc_ctor(1, 1, 0);
} else {
 x_296 = x_295;
}
lean_ctor_set(x_296, 0, x_294);
return x_296;
}
}
else
{
lean_dec(x_248);
lean_dec(x_245);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
return x_257;
}
}
else
{
lean_object* x_297; lean_object* x_298; lean_object* x_299; 
lean_dec(x_248);
lean_dec(x_245);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_297 = lean_ctor_get(x_253, 0);
lean_inc(x_297);
if (lean_is_exclusive(x_253)) {
 lean_ctor_release(x_253, 0);
 x_298 = x_253;
} else {
 lean_dec_ref(x_253);
 x_298 = lean_box(0);
}
if (lean_is_scalar(x_298)) {
 x_299 = lean_alloc_ctor(1, 1, 0);
} else {
 x_299 = x_298;
}
lean_ctor_set(x_299, 0, x_297);
return x_299;
}
}
else
{
lean_object* x_300; lean_object* x_301; lean_object* x_302; 
lean_dec(x_245);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_300 = lean_ctor_get(x_247, 0);
lean_inc(x_300);
if (lean_is_exclusive(x_247)) {
 lean_ctor_release(x_247, 0);
 x_301 = x_247;
} else {
 lean_dec_ref(x_247);
 x_301 = lean_box(0);
}
if (lean_is_scalar(x_301)) {
 x_302 = lean_alloc_ctor(1, 1, 0);
} else {
 x_302 = x_301;
}
lean_ctor_set(x_302, 0, x_300);
return x_302;
}
}
else
{
lean_object* x_303; lean_object* x_304; lean_object* x_305; 
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_303 = lean_ctor_get(x_244, 0);
lean_inc(x_303);
if (lean_is_exclusive(x_244)) {
 lean_ctor_release(x_244, 0);
 x_304 = x_244;
} else {
 lean_dec_ref(x_244);
 x_304 = lean_box(0);
}
if (lean_is_scalar(x_304)) {
 x_305 = lean_alloc_ctor(1, 1, 0);
} else {
 x_305 = x_304;
}
lean_ctor_set(x_305, 0, x_303);
return x_305;
}
}
else
{
lean_object* x_306; lean_object* x_307; lean_object* x_308; 
lean_free_object(x_97);
lean_dec(x_99);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_306 = lean_ctor_get(x_237, 0);
lean_inc(x_306);
if (lean_is_exclusive(x_237)) {
 lean_ctor_release(x_237, 0);
 x_307 = x_237;
} else {
 lean_dec_ref(x_237);
 x_307 = lean_box(0);
}
if (lean_is_scalar(x_307)) {
 x_308 = lean_alloc_ctor(1, 1, 0);
} else {
 x_308 = x_307;
}
lean_ctor_set(x_308, 0, x_306);
return x_308;
}
}
}
else
{
lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; 
x_309 = lean_ctor_get(x_113, 0);
x_310 = lean_ctor_get(x_113, 1);
x_311 = lean_ctor_get(x_113, 2);
x_312 = lean_ctor_get(x_113, 3);
x_313 = lean_ctor_get(x_113, 4);
x_314 = lean_ctor_get(x_113, 6);
x_315 = lean_ctor_get(x_113, 7);
x_316 = lean_ctor_get(x_113, 8);
lean_inc(x_316);
lean_inc(x_315);
lean_inc(x_314);
lean_inc(x_313);
lean_inc(x_312);
lean_inc(x_311);
lean_inc(x_310);
lean_inc(x_309);
lean_dec(x_113);
lean_inc(x_99);
x_317 = l_Lean_addProtected(x_309, x_99);
x_318 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_318, 0, x_317);
lean_ctor_set(x_318, 1, x_310);
lean_ctor_set(x_318, 2, x_311);
lean_ctor_set(x_318, 3, x_312);
lean_ctor_set(x_318, 4, x_313);
lean_ctor_set(x_318, 5, x_78);
lean_ctor_set(x_318, 6, x_314);
lean_ctor_set(x_318, 7, x_315);
lean_ctor_set(x_318, 8, x_316);
x_319 = lean_st_ref_set(x_27, x_318);
x_320 = lean_st_ref_take(x_25);
x_321 = lean_ctor_get(x_320, 0);
lean_inc_ref(x_321);
x_322 = lean_ctor_get(x_320, 2);
lean_inc(x_322);
x_323 = lean_ctor_get(x_320, 3);
lean_inc_ref(x_323);
x_324 = lean_ctor_get(x_320, 4);
lean_inc_ref(x_324);
if (lean_is_exclusive(x_320)) {
 lean_ctor_release(x_320, 0);
 lean_ctor_release(x_320, 1);
 lean_ctor_release(x_320, 2);
 lean_ctor_release(x_320, 3);
 lean_ctor_release(x_320, 4);
 x_325 = x_320;
} else {
 lean_dec_ref(x_320);
 x_325 = lean_box(0);
}
if (lean_is_scalar(x_325)) {
 x_326 = lean_alloc_ctor(0, 5, 0);
} else {
 x_326 = x_325;
}
lean_ctor_set(x_326, 0, x_321);
lean_ctor_set(x_326, 1, x_83);
lean_ctor_set(x_326, 2, x_322);
lean_ctor_set(x_326, 3, x_323);
lean_ctor_set(x_326, 4, x_324);
x_327 = lean_st_ref_set(x_25, x_326);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_328 = l_Lean_Meta_mkPProdSndM(x_86, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_328) == 0)
{
lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; 
x_329 = lean_ctor_get(x_328, 0);
lean_inc(x_329);
lean_dec_ref(x_328);
x_330 = l_Lean_Expr_const___override(x_99, x_19);
x_331 = l_Lean_mkAppN(x_330, x_53);
x_332 = lean_array_get(x_11, x_23, x_12);
lean_dec_ref(x_23);
x_333 = l_Lean_mkAppN(x_332, x_42);
lean_dec_ref(x_42);
x_334 = l_Lean_Expr_app___override(x_333, x_329);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_335 = l_Lean_Meta_mkEq(x_331, x_334, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_335) == 0)
{
lean_object* x_336; lean_object* x_337; lean_object* x_338; 
x_336 = lean_ctor_get(x_335, 0);
lean_inc(x_336);
lean_dec_ref(x_335);
x_337 = lean_box(0);
lean_inc_ref(x_24);
lean_inc(x_336);
x_338 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_336, x_337, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_338) == 0)
{
lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; 
x_339 = lean_ctor_get(x_338, 0);
lean_inc(x_339);
lean_dec_ref(x_338);
x_340 = l_Lean_Expr_mvarId_x21(x_339);
x_341 = l_Lean_Expr_fvarId_x21(x_14);
lean_dec_ref(x_14);
x_342 = lean_mk_empty_array_with_capacity(x_21);
x_343 = lean_box(0);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_344 = l_Lean_MVarId_cases(x_340, x_341, x_342, x_54, x_343, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_344) == 0)
{
lean_object* x_345; lean_object* x_346; size_t x_347; lean_object* x_348; 
x_345 = lean_ctor_get(x_344, 0);
lean_inc(x_345);
lean_dec_ref(x_344);
x_346 = lean_box(0);
x_347 = lean_array_size(x_345);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_348 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__4(x_54, x_346, x_345, x_347, x_8, x_346, x_24, x_25, x_26, x_27);
lean_dec(x_345);
if (lean_obj_tag(x_348) == 0)
{
lean_object* x_349; lean_object* x_350; lean_object* x_351; 
lean_dec_ref(x_348);
x_349 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___redArg(x_339, x_25);
x_350 = lean_ctor_get(x_349, 0);
lean_inc(x_350);
lean_dec_ref(x_349);
x_351 = l_Lean_Meta_mkForallFVars(x_53, x_336, x_54, x_16, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_351) == 0)
{
lean_object* x_352; lean_object* x_353; 
x_352 = lean_ctor_get(x_351, 0);
lean_inc(x_352);
lean_dec_ref(x_351);
x_353 = l_Lean_Meta_mkLambdaFVars(x_53, x_350, x_54, x_16, x_54, x_16, x_55, x_24, x_25, x_26, x_27);
lean_dec_ref(x_24);
lean_dec_ref(x_53);
if (lean_obj_tag(x_353) == 0)
{
lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; 
x_354 = lean_ctor_get(x_353, 0);
lean_inc(x_354);
lean_dec_ref(x_353);
lean_inc(x_22);
lean_ctor_set(x_97, 2, x_352);
lean_ctor_set(x_97, 1, x_18);
lean_ctor_set(x_97, 0, x_22);
x_355 = lean_box(0);
lean_inc(x_22);
lean_ctor_set_tag(x_34, 1);
lean_ctor_set(x_34, 1, x_355);
lean_ctor_set(x_34, 0, x_22);
lean_ctor_set(x_67, 2, x_34);
lean_ctor_set(x_67, 1, x_354);
lean_ctor_set(x_67, 0, x_97);
x_356 = l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___redArg(x_67, x_27);
x_357 = lean_ctor_get(x_356, 0);
lean_inc(x_357);
lean_dec_ref(x_356);
lean_inc(x_27);
x_358 = l_Lean_addDecl(x_357, x_54, x_26, x_27);
if (lean_obj_tag(x_358) == 0)
{
lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; 
if (lean_is_exclusive(x_358)) {
 lean_ctor_release(x_358, 0);
 x_359 = x_358;
} else {
 lean_dec_ref(x_358);
 x_359 = lean_box(0);
}
x_360 = lean_st_ref_take(x_27);
x_361 = lean_ctor_get(x_360, 0);
lean_inc_ref(x_361);
x_362 = lean_ctor_get(x_360, 1);
lean_inc(x_362);
x_363 = lean_ctor_get(x_360, 2);
lean_inc_ref(x_363);
x_364 = lean_ctor_get(x_360, 3);
lean_inc_ref(x_364);
x_365 = lean_ctor_get(x_360, 4);
lean_inc_ref(x_365);
x_366 = lean_ctor_get(x_360, 6);
lean_inc_ref(x_366);
x_367 = lean_ctor_get(x_360, 7);
lean_inc_ref(x_367);
x_368 = lean_ctor_get(x_360, 8);
lean_inc_ref(x_368);
if (lean_is_exclusive(x_360)) {
 lean_ctor_release(x_360, 0);
 lean_ctor_release(x_360, 1);
 lean_ctor_release(x_360, 2);
 lean_ctor_release(x_360, 3);
 lean_ctor_release(x_360, 4);
 lean_ctor_release(x_360, 5);
 lean_ctor_release(x_360, 6);
 lean_ctor_release(x_360, 7);
 lean_ctor_release(x_360, 8);
 x_369 = x_360;
} else {
 lean_dec_ref(x_360);
 x_369 = lean_box(0);
}
x_370 = l_Lean_addProtected(x_361, x_22);
if (lean_is_scalar(x_369)) {
 x_371 = lean_alloc_ctor(0, 9, 0);
} else {
 x_371 = x_369;
}
lean_ctor_set(x_371, 0, x_370);
lean_ctor_set(x_371, 1, x_362);
lean_ctor_set(x_371, 2, x_363);
lean_ctor_set(x_371, 3, x_364);
lean_ctor_set(x_371, 4, x_365);
lean_ctor_set(x_371, 5, x_78);
lean_ctor_set(x_371, 6, x_366);
lean_ctor_set(x_371, 7, x_367);
lean_ctor_set(x_371, 8, x_368);
x_372 = lean_st_ref_set(x_27, x_371);
lean_dec(x_27);
x_373 = lean_st_ref_take(x_25);
x_374 = lean_ctor_get(x_373, 0);
lean_inc_ref(x_374);
x_375 = lean_ctor_get(x_373, 2);
lean_inc(x_375);
x_376 = lean_ctor_get(x_373, 3);
lean_inc_ref(x_376);
x_377 = lean_ctor_get(x_373, 4);
lean_inc_ref(x_377);
if (lean_is_exclusive(x_373)) {
 lean_ctor_release(x_373, 0);
 lean_ctor_release(x_373, 1);
 lean_ctor_release(x_373, 2);
 lean_ctor_release(x_373, 3);
 lean_ctor_release(x_373, 4);
 x_378 = x_373;
} else {
 lean_dec_ref(x_373);
 x_378 = lean_box(0);
}
if (lean_is_scalar(x_378)) {
 x_379 = lean_alloc_ctor(0, 5, 0);
} else {
 x_379 = x_378;
}
lean_ctor_set(x_379, 0, x_374);
lean_ctor_set(x_379, 1, x_83);
lean_ctor_set(x_379, 2, x_375);
lean_ctor_set(x_379, 3, x_376);
lean_ctor_set(x_379, 4, x_377);
x_380 = lean_st_ref_set(x_25, x_379);
lean_dec(x_25);
if (lean_is_scalar(x_359)) {
 x_381 = lean_alloc_ctor(0, 1, 0);
} else {
 x_381 = x_359;
}
lean_ctor_set(x_381, 0, x_346);
return x_381;
}
else
{
lean_dec(x_27);
lean_dec(x_25);
lean_dec(x_22);
return x_358;
}
}
else
{
lean_object* x_382; lean_object* x_383; lean_object* x_384; 
lean_dec(x_352);
lean_free_object(x_97);
lean_free_object(x_67);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec(x_22);
lean_dec(x_18);
x_382 = lean_ctor_get(x_353, 0);
lean_inc(x_382);
if (lean_is_exclusive(x_353)) {
 lean_ctor_release(x_353, 0);
 x_383 = x_353;
} else {
 lean_dec_ref(x_353);
 x_383 = lean_box(0);
}
if (lean_is_scalar(x_383)) {
 x_384 = lean_alloc_ctor(1, 1, 0);
} else {
 x_384 = x_383;
}
lean_ctor_set(x_384, 0, x_382);
return x_384;
}
}
else
{
lean_object* x_385; lean_object* x_386; lean_object* x_387; 
lean_dec(x_350);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_385 = lean_ctor_get(x_351, 0);
lean_inc(x_385);
if (lean_is_exclusive(x_351)) {
 lean_ctor_release(x_351, 0);
 x_386 = x_351;
} else {
 lean_dec_ref(x_351);
 x_386 = lean_box(0);
}
if (lean_is_scalar(x_386)) {
 x_387 = lean_alloc_ctor(1, 1, 0);
} else {
 x_387 = x_386;
}
lean_ctor_set(x_387, 0, x_385);
return x_387;
}
}
else
{
lean_dec(x_339);
lean_dec(x_336);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
return x_348;
}
}
else
{
lean_object* x_388; lean_object* x_389; lean_object* x_390; 
lean_dec(x_339);
lean_dec(x_336);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_388 = lean_ctor_get(x_344, 0);
lean_inc(x_388);
if (lean_is_exclusive(x_344)) {
 lean_ctor_release(x_344, 0);
 x_389 = x_344;
} else {
 lean_dec_ref(x_344);
 x_389 = lean_box(0);
}
if (lean_is_scalar(x_389)) {
 x_390 = lean_alloc_ctor(1, 1, 0);
} else {
 x_390 = x_389;
}
lean_ctor_set(x_390, 0, x_388);
return x_390;
}
}
else
{
lean_object* x_391; lean_object* x_392; lean_object* x_393; 
lean_dec(x_336);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_391 = lean_ctor_get(x_338, 0);
lean_inc(x_391);
if (lean_is_exclusive(x_338)) {
 lean_ctor_release(x_338, 0);
 x_392 = x_338;
} else {
 lean_dec_ref(x_338);
 x_392 = lean_box(0);
}
if (lean_is_scalar(x_392)) {
 x_393 = lean_alloc_ctor(1, 1, 0);
} else {
 x_393 = x_392;
}
lean_ctor_set(x_393, 0, x_391);
return x_393;
}
}
else
{
lean_object* x_394; lean_object* x_395; lean_object* x_396; 
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_394 = lean_ctor_get(x_335, 0);
lean_inc(x_394);
if (lean_is_exclusive(x_335)) {
 lean_ctor_release(x_335, 0);
 x_395 = x_335;
} else {
 lean_dec_ref(x_335);
 x_395 = lean_box(0);
}
if (lean_is_scalar(x_395)) {
 x_396 = lean_alloc_ctor(1, 1, 0);
} else {
 x_396 = x_395;
}
lean_ctor_set(x_396, 0, x_394);
return x_396;
}
}
else
{
lean_object* x_397; lean_object* x_398; lean_object* x_399; 
lean_free_object(x_97);
lean_dec(x_99);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_397 = lean_ctor_get(x_328, 0);
lean_inc(x_397);
if (lean_is_exclusive(x_328)) {
 lean_ctor_release(x_328, 0);
 x_398 = x_328;
} else {
 lean_dec_ref(x_328);
 x_398 = lean_box(0);
}
if (lean_is_scalar(x_398)) {
 x_399 = lean_alloc_ctor(1, 1, 0);
} else {
 x_399 = x_398;
}
lean_ctor_set(x_399, 0, x_397);
return x_399;
}
}
}
else
{
lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; 
x_400 = lean_ctor_get(x_109, 0);
x_401 = lean_ctor_get(x_109, 2);
x_402 = lean_ctor_get(x_109, 3);
x_403 = lean_ctor_get(x_109, 4);
lean_inc(x_403);
lean_inc(x_402);
lean_inc(x_401);
lean_inc(x_400);
lean_dec(x_109);
x_404 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_404, 0, x_400);
lean_ctor_set(x_404, 1, x_83);
lean_ctor_set(x_404, 2, x_401);
lean_ctor_set(x_404, 3, x_402);
lean_ctor_set(x_404, 4, x_403);
x_405 = lean_st_ref_set(x_25, x_404);
x_406 = lean_st_ref_take(x_27);
x_407 = lean_ctor_get(x_406, 0);
lean_inc_ref(x_407);
x_408 = lean_ctor_get(x_406, 1);
lean_inc(x_408);
x_409 = lean_ctor_get(x_406, 2);
lean_inc_ref(x_409);
x_410 = lean_ctor_get(x_406, 3);
lean_inc_ref(x_410);
x_411 = lean_ctor_get(x_406, 4);
lean_inc_ref(x_411);
x_412 = lean_ctor_get(x_406, 6);
lean_inc_ref(x_412);
x_413 = lean_ctor_get(x_406, 7);
lean_inc_ref(x_413);
x_414 = lean_ctor_get(x_406, 8);
lean_inc_ref(x_414);
if (lean_is_exclusive(x_406)) {
 lean_ctor_release(x_406, 0);
 lean_ctor_release(x_406, 1);
 lean_ctor_release(x_406, 2);
 lean_ctor_release(x_406, 3);
 lean_ctor_release(x_406, 4);
 lean_ctor_release(x_406, 5);
 lean_ctor_release(x_406, 6);
 lean_ctor_release(x_406, 7);
 lean_ctor_release(x_406, 8);
 x_415 = x_406;
} else {
 lean_dec_ref(x_406);
 x_415 = lean_box(0);
}
lean_inc(x_99);
x_416 = l_Lean_addProtected(x_407, x_99);
if (lean_is_scalar(x_415)) {
 x_417 = lean_alloc_ctor(0, 9, 0);
} else {
 x_417 = x_415;
}
lean_ctor_set(x_417, 0, x_416);
lean_ctor_set(x_417, 1, x_408);
lean_ctor_set(x_417, 2, x_409);
lean_ctor_set(x_417, 3, x_410);
lean_ctor_set(x_417, 4, x_411);
lean_ctor_set(x_417, 5, x_78);
lean_ctor_set(x_417, 6, x_412);
lean_ctor_set(x_417, 7, x_413);
lean_ctor_set(x_417, 8, x_414);
x_418 = lean_st_ref_set(x_27, x_417);
x_419 = lean_st_ref_take(x_25);
x_420 = lean_ctor_get(x_419, 0);
lean_inc_ref(x_420);
x_421 = lean_ctor_get(x_419, 2);
lean_inc(x_421);
x_422 = lean_ctor_get(x_419, 3);
lean_inc_ref(x_422);
x_423 = lean_ctor_get(x_419, 4);
lean_inc_ref(x_423);
if (lean_is_exclusive(x_419)) {
 lean_ctor_release(x_419, 0);
 lean_ctor_release(x_419, 1);
 lean_ctor_release(x_419, 2);
 lean_ctor_release(x_419, 3);
 lean_ctor_release(x_419, 4);
 x_424 = x_419;
} else {
 lean_dec_ref(x_419);
 x_424 = lean_box(0);
}
if (lean_is_scalar(x_424)) {
 x_425 = lean_alloc_ctor(0, 5, 0);
} else {
 x_425 = x_424;
}
lean_ctor_set(x_425, 0, x_420);
lean_ctor_set(x_425, 1, x_83);
lean_ctor_set(x_425, 2, x_421);
lean_ctor_set(x_425, 3, x_422);
lean_ctor_set(x_425, 4, x_423);
x_426 = lean_st_ref_set(x_25, x_425);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_427 = l_Lean_Meta_mkPProdSndM(x_86, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_427) == 0)
{
lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; 
x_428 = lean_ctor_get(x_427, 0);
lean_inc(x_428);
lean_dec_ref(x_427);
x_429 = l_Lean_Expr_const___override(x_99, x_19);
x_430 = l_Lean_mkAppN(x_429, x_53);
x_431 = lean_array_get(x_11, x_23, x_12);
lean_dec_ref(x_23);
x_432 = l_Lean_mkAppN(x_431, x_42);
lean_dec_ref(x_42);
x_433 = l_Lean_Expr_app___override(x_432, x_428);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_434 = l_Lean_Meta_mkEq(x_430, x_433, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_434) == 0)
{
lean_object* x_435; lean_object* x_436; lean_object* x_437; 
x_435 = lean_ctor_get(x_434, 0);
lean_inc(x_435);
lean_dec_ref(x_434);
x_436 = lean_box(0);
lean_inc_ref(x_24);
lean_inc(x_435);
x_437 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_435, x_436, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_437) == 0)
{
lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; 
x_438 = lean_ctor_get(x_437, 0);
lean_inc(x_438);
lean_dec_ref(x_437);
x_439 = l_Lean_Expr_mvarId_x21(x_438);
x_440 = l_Lean_Expr_fvarId_x21(x_14);
lean_dec_ref(x_14);
x_441 = lean_mk_empty_array_with_capacity(x_21);
x_442 = lean_box(0);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_443 = l_Lean_MVarId_cases(x_439, x_440, x_441, x_54, x_442, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_443) == 0)
{
lean_object* x_444; lean_object* x_445; size_t x_446; lean_object* x_447; 
x_444 = lean_ctor_get(x_443, 0);
lean_inc(x_444);
lean_dec_ref(x_443);
x_445 = lean_box(0);
x_446 = lean_array_size(x_444);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_447 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__4(x_54, x_445, x_444, x_446, x_8, x_445, x_24, x_25, x_26, x_27);
lean_dec(x_444);
if (lean_obj_tag(x_447) == 0)
{
lean_object* x_448; lean_object* x_449; lean_object* x_450; 
lean_dec_ref(x_447);
x_448 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___redArg(x_438, x_25);
x_449 = lean_ctor_get(x_448, 0);
lean_inc(x_449);
lean_dec_ref(x_448);
x_450 = l_Lean_Meta_mkForallFVars(x_53, x_435, x_54, x_16, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_450) == 0)
{
lean_object* x_451; lean_object* x_452; 
x_451 = lean_ctor_get(x_450, 0);
lean_inc(x_451);
lean_dec_ref(x_450);
x_452 = l_Lean_Meta_mkLambdaFVars(x_53, x_449, x_54, x_16, x_54, x_16, x_55, x_24, x_25, x_26, x_27);
lean_dec_ref(x_24);
lean_dec_ref(x_53);
if (lean_obj_tag(x_452) == 0)
{
lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; 
x_453 = lean_ctor_get(x_452, 0);
lean_inc(x_453);
lean_dec_ref(x_452);
lean_inc(x_22);
lean_ctor_set(x_97, 2, x_451);
lean_ctor_set(x_97, 1, x_18);
lean_ctor_set(x_97, 0, x_22);
x_454 = lean_box(0);
lean_inc(x_22);
lean_ctor_set_tag(x_34, 1);
lean_ctor_set(x_34, 1, x_454);
lean_ctor_set(x_34, 0, x_22);
lean_ctor_set(x_67, 2, x_34);
lean_ctor_set(x_67, 1, x_453);
lean_ctor_set(x_67, 0, x_97);
x_455 = l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___redArg(x_67, x_27);
x_456 = lean_ctor_get(x_455, 0);
lean_inc(x_456);
lean_dec_ref(x_455);
lean_inc(x_27);
x_457 = l_Lean_addDecl(x_456, x_54, x_26, x_27);
if (lean_obj_tag(x_457) == 0)
{
lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; 
if (lean_is_exclusive(x_457)) {
 lean_ctor_release(x_457, 0);
 x_458 = x_457;
} else {
 lean_dec_ref(x_457);
 x_458 = lean_box(0);
}
x_459 = lean_st_ref_take(x_27);
x_460 = lean_ctor_get(x_459, 0);
lean_inc_ref(x_460);
x_461 = lean_ctor_get(x_459, 1);
lean_inc(x_461);
x_462 = lean_ctor_get(x_459, 2);
lean_inc_ref(x_462);
x_463 = lean_ctor_get(x_459, 3);
lean_inc_ref(x_463);
x_464 = lean_ctor_get(x_459, 4);
lean_inc_ref(x_464);
x_465 = lean_ctor_get(x_459, 6);
lean_inc_ref(x_465);
x_466 = lean_ctor_get(x_459, 7);
lean_inc_ref(x_466);
x_467 = lean_ctor_get(x_459, 8);
lean_inc_ref(x_467);
if (lean_is_exclusive(x_459)) {
 lean_ctor_release(x_459, 0);
 lean_ctor_release(x_459, 1);
 lean_ctor_release(x_459, 2);
 lean_ctor_release(x_459, 3);
 lean_ctor_release(x_459, 4);
 lean_ctor_release(x_459, 5);
 lean_ctor_release(x_459, 6);
 lean_ctor_release(x_459, 7);
 lean_ctor_release(x_459, 8);
 x_468 = x_459;
} else {
 lean_dec_ref(x_459);
 x_468 = lean_box(0);
}
x_469 = l_Lean_addProtected(x_460, x_22);
if (lean_is_scalar(x_468)) {
 x_470 = lean_alloc_ctor(0, 9, 0);
} else {
 x_470 = x_468;
}
lean_ctor_set(x_470, 0, x_469);
lean_ctor_set(x_470, 1, x_461);
lean_ctor_set(x_470, 2, x_462);
lean_ctor_set(x_470, 3, x_463);
lean_ctor_set(x_470, 4, x_464);
lean_ctor_set(x_470, 5, x_78);
lean_ctor_set(x_470, 6, x_465);
lean_ctor_set(x_470, 7, x_466);
lean_ctor_set(x_470, 8, x_467);
x_471 = lean_st_ref_set(x_27, x_470);
lean_dec(x_27);
x_472 = lean_st_ref_take(x_25);
x_473 = lean_ctor_get(x_472, 0);
lean_inc_ref(x_473);
x_474 = lean_ctor_get(x_472, 2);
lean_inc(x_474);
x_475 = lean_ctor_get(x_472, 3);
lean_inc_ref(x_475);
x_476 = lean_ctor_get(x_472, 4);
lean_inc_ref(x_476);
if (lean_is_exclusive(x_472)) {
 lean_ctor_release(x_472, 0);
 lean_ctor_release(x_472, 1);
 lean_ctor_release(x_472, 2);
 lean_ctor_release(x_472, 3);
 lean_ctor_release(x_472, 4);
 x_477 = x_472;
} else {
 lean_dec_ref(x_472);
 x_477 = lean_box(0);
}
if (lean_is_scalar(x_477)) {
 x_478 = lean_alloc_ctor(0, 5, 0);
} else {
 x_478 = x_477;
}
lean_ctor_set(x_478, 0, x_473);
lean_ctor_set(x_478, 1, x_83);
lean_ctor_set(x_478, 2, x_474);
lean_ctor_set(x_478, 3, x_475);
lean_ctor_set(x_478, 4, x_476);
x_479 = lean_st_ref_set(x_25, x_478);
lean_dec(x_25);
if (lean_is_scalar(x_458)) {
 x_480 = lean_alloc_ctor(0, 1, 0);
} else {
 x_480 = x_458;
}
lean_ctor_set(x_480, 0, x_445);
return x_480;
}
else
{
lean_dec(x_27);
lean_dec(x_25);
lean_dec(x_22);
return x_457;
}
}
else
{
lean_object* x_481; lean_object* x_482; lean_object* x_483; 
lean_dec(x_451);
lean_free_object(x_97);
lean_free_object(x_67);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec(x_22);
lean_dec(x_18);
x_481 = lean_ctor_get(x_452, 0);
lean_inc(x_481);
if (lean_is_exclusive(x_452)) {
 lean_ctor_release(x_452, 0);
 x_482 = x_452;
} else {
 lean_dec_ref(x_452);
 x_482 = lean_box(0);
}
if (lean_is_scalar(x_482)) {
 x_483 = lean_alloc_ctor(1, 1, 0);
} else {
 x_483 = x_482;
}
lean_ctor_set(x_483, 0, x_481);
return x_483;
}
}
else
{
lean_object* x_484; lean_object* x_485; lean_object* x_486; 
lean_dec(x_449);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_484 = lean_ctor_get(x_450, 0);
lean_inc(x_484);
if (lean_is_exclusive(x_450)) {
 lean_ctor_release(x_450, 0);
 x_485 = x_450;
} else {
 lean_dec_ref(x_450);
 x_485 = lean_box(0);
}
if (lean_is_scalar(x_485)) {
 x_486 = lean_alloc_ctor(1, 1, 0);
} else {
 x_486 = x_485;
}
lean_ctor_set(x_486, 0, x_484);
return x_486;
}
}
else
{
lean_dec(x_438);
lean_dec(x_435);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
return x_447;
}
}
else
{
lean_object* x_487; lean_object* x_488; lean_object* x_489; 
lean_dec(x_438);
lean_dec(x_435);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_487 = lean_ctor_get(x_443, 0);
lean_inc(x_487);
if (lean_is_exclusive(x_443)) {
 lean_ctor_release(x_443, 0);
 x_488 = x_443;
} else {
 lean_dec_ref(x_443);
 x_488 = lean_box(0);
}
if (lean_is_scalar(x_488)) {
 x_489 = lean_alloc_ctor(1, 1, 0);
} else {
 x_489 = x_488;
}
lean_ctor_set(x_489, 0, x_487);
return x_489;
}
}
else
{
lean_object* x_490; lean_object* x_491; lean_object* x_492; 
lean_dec(x_435);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_490 = lean_ctor_get(x_437, 0);
lean_inc(x_490);
if (lean_is_exclusive(x_437)) {
 lean_ctor_release(x_437, 0);
 x_491 = x_437;
} else {
 lean_dec_ref(x_437);
 x_491 = lean_box(0);
}
if (lean_is_scalar(x_491)) {
 x_492 = lean_alloc_ctor(1, 1, 0);
} else {
 x_492 = x_491;
}
lean_ctor_set(x_492, 0, x_490);
return x_492;
}
}
else
{
lean_object* x_493; lean_object* x_494; lean_object* x_495; 
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_493 = lean_ctor_get(x_434, 0);
lean_inc(x_493);
if (lean_is_exclusive(x_434)) {
 lean_ctor_release(x_434, 0);
 x_494 = x_434;
} else {
 lean_dec_ref(x_434);
 x_494 = lean_box(0);
}
if (lean_is_scalar(x_494)) {
 x_495 = lean_alloc_ctor(1, 1, 0);
} else {
 x_495 = x_494;
}
lean_ctor_set(x_495, 0, x_493);
return x_495;
}
}
else
{
lean_object* x_496; lean_object* x_497; lean_object* x_498; 
lean_free_object(x_97);
lean_dec(x_99);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_496 = lean_ctor_get(x_427, 0);
lean_inc(x_496);
if (lean_is_exclusive(x_427)) {
 lean_ctor_release(x_427, 0);
 x_497 = x_427;
} else {
 lean_dec_ref(x_427);
 x_497 = lean_box(0);
}
if (lean_is_scalar(x_497)) {
 x_498 = lean_alloc_ctor(1, 1, 0);
} else {
 x_498 = x_497;
}
lean_ctor_set(x_498, 0, x_496);
return x_498;
}
}
}
else
{
lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; 
x_499 = lean_ctor_get(x_103, 0);
x_500 = lean_ctor_get(x_103, 1);
x_501 = lean_ctor_get(x_103, 2);
x_502 = lean_ctor_get(x_103, 3);
x_503 = lean_ctor_get(x_103, 4);
x_504 = lean_ctor_get(x_103, 6);
x_505 = lean_ctor_get(x_103, 7);
x_506 = lean_ctor_get(x_103, 8);
lean_inc(x_506);
lean_inc(x_505);
lean_inc(x_504);
lean_inc(x_503);
lean_inc(x_502);
lean_inc(x_501);
lean_inc(x_500);
lean_inc(x_499);
lean_dec(x_103);
lean_inc(x_99);
x_507 = l_Lean_markAuxRecursor(x_499, x_99);
x_508 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_508, 0, x_507);
lean_ctor_set(x_508, 1, x_500);
lean_ctor_set(x_508, 2, x_501);
lean_ctor_set(x_508, 3, x_502);
lean_ctor_set(x_508, 4, x_503);
lean_ctor_set(x_508, 5, x_78);
lean_ctor_set(x_508, 6, x_504);
lean_ctor_set(x_508, 7, x_505);
lean_ctor_set(x_508, 8, x_506);
x_509 = lean_st_ref_set(x_27, x_508);
x_510 = lean_st_ref_take(x_25);
x_511 = lean_ctor_get(x_510, 0);
lean_inc_ref(x_511);
x_512 = lean_ctor_get(x_510, 2);
lean_inc(x_512);
x_513 = lean_ctor_get(x_510, 3);
lean_inc_ref(x_513);
x_514 = lean_ctor_get(x_510, 4);
lean_inc_ref(x_514);
if (lean_is_exclusive(x_510)) {
 lean_ctor_release(x_510, 0);
 lean_ctor_release(x_510, 1);
 lean_ctor_release(x_510, 2);
 lean_ctor_release(x_510, 3);
 lean_ctor_release(x_510, 4);
 x_515 = x_510;
} else {
 lean_dec_ref(x_510);
 x_515 = lean_box(0);
}
if (lean_is_scalar(x_515)) {
 x_516 = lean_alloc_ctor(0, 5, 0);
} else {
 x_516 = x_515;
}
lean_ctor_set(x_516, 0, x_511);
lean_ctor_set(x_516, 1, x_83);
lean_ctor_set(x_516, 2, x_512);
lean_ctor_set(x_516, 3, x_513);
lean_ctor_set(x_516, 4, x_514);
x_517 = lean_st_ref_set(x_25, x_516);
x_518 = lean_st_ref_take(x_27);
x_519 = lean_ctor_get(x_518, 0);
lean_inc_ref(x_519);
x_520 = lean_ctor_get(x_518, 1);
lean_inc(x_520);
x_521 = lean_ctor_get(x_518, 2);
lean_inc_ref(x_521);
x_522 = lean_ctor_get(x_518, 3);
lean_inc_ref(x_522);
x_523 = lean_ctor_get(x_518, 4);
lean_inc_ref(x_523);
x_524 = lean_ctor_get(x_518, 6);
lean_inc_ref(x_524);
x_525 = lean_ctor_get(x_518, 7);
lean_inc_ref(x_525);
x_526 = lean_ctor_get(x_518, 8);
lean_inc_ref(x_526);
if (lean_is_exclusive(x_518)) {
 lean_ctor_release(x_518, 0);
 lean_ctor_release(x_518, 1);
 lean_ctor_release(x_518, 2);
 lean_ctor_release(x_518, 3);
 lean_ctor_release(x_518, 4);
 lean_ctor_release(x_518, 5);
 lean_ctor_release(x_518, 6);
 lean_ctor_release(x_518, 7);
 lean_ctor_release(x_518, 8);
 x_527 = x_518;
} else {
 lean_dec_ref(x_518);
 x_527 = lean_box(0);
}
lean_inc(x_99);
x_528 = l_Lean_addProtected(x_519, x_99);
if (lean_is_scalar(x_527)) {
 x_529 = lean_alloc_ctor(0, 9, 0);
} else {
 x_529 = x_527;
}
lean_ctor_set(x_529, 0, x_528);
lean_ctor_set(x_529, 1, x_520);
lean_ctor_set(x_529, 2, x_521);
lean_ctor_set(x_529, 3, x_522);
lean_ctor_set(x_529, 4, x_523);
lean_ctor_set(x_529, 5, x_78);
lean_ctor_set(x_529, 6, x_524);
lean_ctor_set(x_529, 7, x_525);
lean_ctor_set(x_529, 8, x_526);
x_530 = lean_st_ref_set(x_27, x_529);
x_531 = lean_st_ref_take(x_25);
x_532 = lean_ctor_get(x_531, 0);
lean_inc_ref(x_532);
x_533 = lean_ctor_get(x_531, 2);
lean_inc(x_533);
x_534 = lean_ctor_get(x_531, 3);
lean_inc_ref(x_534);
x_535 = lean_ctor_get(x_531, 4);
lean_inc_ref(x_535);
if (lean_is_exclusive(x_531)) {
 lean_ctor_release(x_531, 0);
 lean_ctor_release(x_531, 1);
 lean_ctor_release(x_531, 2);
 lean_ctor_release(x_531, 3);
 lean_ctor_release(x_531, 4);
 x_536 = x_531;
} else {
 lean_dec_ref(x_531);
 x_536 = lean_box(0);
}
if (lean_is_scalar(x_536)) {
 x_537 = lean_alloc_ctor(0, 5, 0);
} else {
 x_537 = x_536;
}
lean_ctor_set(x_537, 0, x_532);
lean_ctor_set(x_537, 1, x_83);
lean_ctor_set(x_537, 2, x_533);
lean_ctor_set(x_537, 3, x_534);
lean_ctor_set(x_537, 4, x_535);
x_538 = lean_st_ref_set(x_25, x_537);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_539 = l_Lean_Meta_mkPProdSndM(x_86, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_539) == 0)
{
lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; 
x_540 = lean_ctor_get(x_539, 0);
lean_inc(x_540);
lean_dec_ref(x_539);
x_541 = l_Lean_Expr_const___override(x_99, x_19);
x_542 = l_Lean_mkAppN(x_541, x_53);
x_543 = lean_array_get(x_11, x_23, x_12);
lean_dec_ref(x_23);
x_544 = l_Lean_mkAppN(x_543, x_42);
lean_dec_ref(x_42);
x_545 = l_Lean_Expr_app___override(x_544, x_540);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_546 = l_Lean_Meta_mkEq(x_542, x_545, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_546) == 0)
{
lean_object* x_547; lean_object* x_548; lean_object* x_549; 
x_547 = lean_ctor_get(x_546, 0);
lean_inc(x_547);
lean_dec_ref(x_546);
x_548 = lean_box(0);
lean_inc_ref(x_24);
lean_inc(x_547);
x_549 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_547, x_548, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_549) == 0)
{
lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; 
x_550 = lean_ctor_get(x_549, 0);
lean_inc(x_550);
lean_dec_ref(x_549);
x_551 = l_Lean_Expr_mvarId_x21(x_550);
x_552 = l_Lean_Expr_fvarId_x21(x_14);
lean_dec_ref(x_14);
x_553 = lean_mk_empty_array_with_capacity(x_21);
x_554 = lean_box(0);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_555 = l_Lean_MVarId_cases(x_551, x_552, x_553, x_54, x_554, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_555) == 0)
{
lean_object* x_556; lean_object* x_557; size_t x_558; lean_object* x_559; 
x_556 = lean_ctor_get(x_555, 0);
lean_inc(x_556);
lean_dec_ref(x_555);
x_557 = lean_box(0);
x_558 = lean_array_size(x_556);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_559 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__4(x_54, x_557, x_556, x_558, x_8, x_557, x_24, x_25, x_26, x_27);
lean_dec(x_556);
if (lean_obj_tag(x_559) == 0)
{
lean_object* x_560; lean_object* x_561; lean_object* x_562; 
lean_dec_ref(x_559);
x_560 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___redArg(x_550, x_25);
x_561 = lean_ctor_get(x_560, 0);
lean_inc(x_561);
lean_dec_ref(x_560);
x_562 = l_Lean_Meta_mkForallFVars(x_53, x_547, x_54, x_16, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_562) == 0)
{
lean_object* x_563; lean_object* x_564; 
x_563 = lean_ctor_get(x_562, 0);
lean_inc(x_563);
lean_dec_ref(x_562);
x_564 = l_Lean_Meta_mkLambdaFVars(x_53, x_561, x_54, x_16, x_54, x_16, x_55, x_24, x_25, x_26, x_27);
lean_dec_ref(x_24);
lean_dec_ref(x_53);
if (lean_obj_tag(x_564) == 0)
{
lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; 
x_565 = lean_ctor_get(x_564, 0);
lean_inc(x_565);
lean_dec_ref(x_564);
lean_inc(x_22);
lean_ctor_set(x_97, 2, x_563);
lean_ctor_set(x_97, 1, x_18);
lean_ctor_set(x_97, 0, x_22);
x_566 = lean_box(0);
lean_inc(x_22);
lean_ctor_set_tag(x_34, 1);
lean_ctor_set(x_34, 1, x_566);
lean_ctor_set(x_34, 0, x_22);
lean_ctor_set(x_67, 2, x_34);
lean_ctor_set(x_67, 1, x_565);
lean_ctor_set(x_67, 0, x_97);
x_567 = l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___redArg(x_67, x_27);
x_568 = lean_ctor_get(x_567, 0);
lean_inc(x_568);
lean_dec_ref(x_567);
lean_inc(x_27);
x_569 = l_Lean_addDecl(x_568, x_54, x_26, x_27);
if (lean_obj_tag(x_569) == 0)
{
lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; 
if (lean_is_exclusive(x_569)) {
 lean_ctor_release(x_569, 0);
 x_570 = x_569;
} else {
 lean_dec_ref(x_569);
 x_570 = lean_box(0);
}
x_571 = lean_st_ref_take(x_27);
x_572 = lean_ctor_get(x_571, 0);
lean_inc_ref(x_572);
x_573 = lean_ctor_get(x_571, 1);
lean_inc(x_573);
x_574 = lean_ctor_get(x_571, 2);
lean_inc_ref(x_574);
x_575 = lean_ctor_get(x_571, 3);
lean_inc_ref(x_575);
x_576 = lean_ctor_get(x_571, 4);
lean_inc_ref(x_576);
x_577 = lean_ctor_get(x_571, 6);
lean_inc_ref(x_577);
x_578 = lean_ctor_get(x_571, 7);
lean_inc_ref(x_578);
x_579 = lean_ctor_get(x_571, 8);
lean_inc_ref(x_579);
if (lean_is_exclusive(x_571)) {
 lean_ctor_release(x_571, 0);
 lean_ctor_release(x_571, 1);
 lean_ctor_release(x_571, 2);
 lean_ctor_release(x_571, 3);
 lean_ctor_release(x_571, 4);
 lean_ctor_release(x_571, 5);
 lean_ctor_release(x_571, 6);
 lean_ctor_release(x_571, 7);
 lean_ctor_release(x_571, 8);
 x_580 = x_571;
} else {
 lean_dec_ref(x_571);
 x_580 = lean_box(0);
}
x_581 = l_Lean_addProtected(x_572, x_22);
if (lean_is_scalar(x_580)) {
 x_582 = lean_alloc_ctor(0, 9, 0);
} else {
 x_582 = x_580;
}
lean_ctor_set(x_582, 0, x_581);
lean_ctor_set(x_582, 1, x_573);
lean_ctor_set(x_582, 2, x_574);
lean_ctor_set(x_582, 3, x_575);
lean_ctor_set(x_582, 4, x_576);
lean_ctor_set(x_582, 5, x_78);
lean_ctor_set(x_582, 6, x_577);
lean_ctor_set(x_582, 7, x_578);
lean_ctor_set(x_582, 8, x_579);
x_583 = lean_st_ref_set(x_27, x_582);
lean_dec(x_27);
x_584 = lean_st_ref_take(x_25);
x_585 = lean_ctor_get(x_584, 0);
lean_inc_ref(x_585);
x_586 = lean_ctor_get(x_584, 2);
lean_inc(x_586);
x_587 = lean_ctor_get(x_584, 3);
lean_inc_ref(x_587);
x_588 = lean_ctor_get(x_584, 4);
lean_inc_ref(x_588);
if (lean_is_exclusive(x_584)) {
 lean_ctor_release(x_584, 0);
 lean_ctor_release(x_584, 1);
 lean_ctor_release(x_584, 2);
 lean_ctor_release(x_584, 3);
 lean_ctor_release(x_584, 4);
 x_589 = x_584;
} else {
 lean_dec_ref(x_584);
 x_589 = lean_box(0);
}
if (lean_is_scalar(x_589)) {
 x_590 = lean_alloc_ctor(0, 5, 0);
} else {
 x_590 = x_589;
}
lean_ctor_set(x_590, 0, x_585);
lean_ctor_set(x_590, 1, x_83);
lean_ctor_set(x_590, 2, x_586);
lean_ctor_set(x_590, 3, x_587);
lean_ctor_set(x_590, 4, x_588);
x_591 = lean_st_ref_set(x_25, x_590);
lean_dec(x_25);
if (lean_is_scalar(x_570)) {
 x_592 = lean_alloc_ctor(0, 1, 0);
} else {
 x_592 = x_570;
}
lean_ctor_set(x_592, 0, x_557);
return x_592;
}
else
{
lean_dec(x_27);
lean_dec(x_25);
lean_dec(x_22);
return x_569;
}
}
else
{
lean_object* x_593; lean_object* x_594; lean_object* x_595; 
lean_dec(x_563);
lean_free_object(x_97);
lean_free_object(x_67);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec(x_22);
lean_dec(x_18);
x_593 = lean_ctor_get(x_564, 0);
lean_inc(x_593);
if (lean_is_exclusive(x_564)) {
 lean_ctor_release(x_564, 0);
 x_594 = x_564;
} else {
 lean_dec_ref(x_564);
 x_594 = lean_box(0);
}
if (lean_is_scalar(x_594)) {
 x_595 = lean_alloc_ctor(1, 1, 0);
} else {
 x_595 = x_594;
}
lean_ctor_set(x_595, 0, x_593);
return x_595;
}
}
else
{
lean_object* x_596; lean_object* x_597; lean_object* x_598; 
lean_dec(x_561);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_596 = lean_ctor_get(x_562, 0);
lean_inc(x_596);
if (lean_is_exclusive(x_562)) {
 lean_ctor_release(x_562, 0);
 x_597 = x_562;
} else {
 lean_dec_ref(x_562);
 x_597 = lean_box(0);
}
if (lean_is_scalar(x_597)) {
 x_598 = lean_alloc_ctor(1, 1, 0);
} else {
 x_598 = x_597;
}
lean_ctor_set(x_598, 0, x_596);
return x_598;
}
}
else
{
lean_dec(x_550);
lean_dec(x_547);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
return x_559;
}
}
else
{
lean_object* x_599; lean_object* x_600; lean_object* x_601; 
lean_dec(x_550);
lean_dec(x_547);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_599 = lean_ctor_get(x_555, 0);
lean_inc(x_599);
if (lean_is_exclusive(x_555)) {
 lean_ctor_release(x_555, 0);
 x_600 = x_555;
} else {
 lean_dec_ref(x_555);
 x_600 = lean_box(0);
}
if (lean_is_scalar(x_600)) {
 x_601 = lean_alloc_ctor(1, 1, 0);
} else {
 x_601 = x_600;
}
lean_ctor_set(x_601, 0, x_599);
return x_601;
}
}
else
{
lean_object* x_602; lean_object* x_603; lean_object* x_604; 
lean_dec(x_547);
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_602 = lean_ctor_get(x_549, 0);
lean_inc(x_602);
if (lean_is_exclusive(x_549)) {
 lean_ctor_release(x_549, 0);
 x_603 = x_549;
} else {
 lean_dec_ref(x_549);
 x_603 = lean_box(0);
}
if (lean_is_scalar(x_603)) {
 x_604 = lean_alloc_ctor(1, 1, 0);
} else {
 x_604 = x_603;
}
lean_ctor_set(x_604, 0, x_602);
return x_604;
}
}
else
{
lean_object* x_605; lean_object* x_606; lean_object* x_607; 
lean_free_object(x_97);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_605 = lean_ctor_get(x_546, 0);
lean_inc(x_605);
if (lean_is_exclusive(x_546)) {
 lean_ctor_release(x_546, 0);
 x_606 = x_546;
} else {
 lean_dec_ref(x_546);
 x_606 = lean_box(0);
}
if (lean_is_scalar(x_606)) {
 x_607 = lean_alloc_ctor(1, 1, 0);
} else {
 x_607 = x_606;
}
lean_ctor_set(x_607, 0, x_605);
return x_607;
}
}
else
{
lean_object* x_608; lean_object* x_609; lean_object* x_610; 
lean_free_object(x_97);
lean_dec(x_99);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_608 = lean_ctor_get(x_539, 0);
lean_inc(x_608);
if (lean_is_exclusive(x_539)) {
 lean_ctor_release(x_539, 0);
 x_609 = x_539;
} else {
 lean_dec_ref(x_539);
 x_609 = lean_box(0);
}
if (lean_is_scalar(x_609)) {
 x_610 = lean_alloc_ctor(1, 1, 0);
} else {
 x_610 = x_609;
}
lean_ctor_set(x_610, 0, x_608);
return x_610;
}
}
}
else
{
lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; 
x_611 = lean_ctor_get(x_97, 0);
lean_inc(x_611);
lean_dec(x_97);
lean_inc(x_611);
x_612 = l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14(x_611, x_24, x_25, x_26, x_27);
lean_dec_ref(x_612);
x_613 = lean_st_ref_take(x_27);
x_614 = lean_ctor_get(x_613, 0);
lean_inc_ref(x_614);
x_615 = lean_ctor_get(x_613, 1);
lean_inc(x_615);
x_616 = lean_ctor_get(x_613, 2);
lean_inc_ref(x_616);
x_617 = lean_ctor_get(x_613, 3);
lean_inc_ref(x_617);
x_618 = lean_ctor_get(x_613, 4);
lean_inc_ref(x_618);
x_619 = lean_ctor_get(x_613, 6);
lean_inc_ref(x_619);
x_620 = lean_ctor_get(x_613, 7);
lean_inc_ref(x_620);
x_621 = lean_ctor_get(x_613, 8);
lean_inc_ref(x_621);
if (lean_is_exclusive(x_613)) {
 lean_ctor_release(x_613, 0);
 lean_ctor_release(x_613, 1);
 lean_ctor_release(x_613, 2);
 lean_ctor_release(x_613, 3);
 lean_ctor_release(x_613, 4);
 lean_ctor_release(x_613, 5);
 lean_ctor_release(x_613, 6);
 lean_ctor_release(x_613, 7);
 lean_ctor_release(x_613, 8);
 x_622 = x_613;
} else {
 lean_dec_ref(x_613);
 x_622 = lean_box(0);
}
lean_inc(x_611);
x_623 = l_Lean_markAuxRecursor(x_614, x_611);
if (lean_is_scalar(x_622)) {
 x_624 = lean_alloc_ctor(0, 9, 0);
} else {
 x_624 = x_622;
}
lean_ctor_set(x_624, 0, x_623);
lean_ctor_set(x_624, 1, x_615);
lean_ctor_set(x_624, 2, x_616);
lean_ctor_set(x_624, 3, x_617);
lean_ctor_set(x_624, 4, x_618);
lean_ctor_set(x_624, 5, x_78);
lean_ctor_set(x_624, 6, x_619);
lean_ctor_set(x_624, 7, x_620);
lean_ctor_set(x_624, 8, x_621);
x_625 = lean_st_ref_set(x_27, x_624);
x_626 = lean_st_ref_take(x_25);
x_627 = lean_ctor_get(x_626, 0);
lean_inc_ref(x_627);
x_628 = lean_ctor_get(x_626, 2);
lean_inc(x_628);
x_629 = lean_ctor_get(x_626, 3);
lean_inc_ref(x_629);
x_630 = lean_ctor_get(x_626, 4);
lean_inc_ref(x_630);
if (lean_is_exclusive(x_626)) {
 lean_ctor_release(x_626, 0);
 lean_ctor_release(x_626, 1);
 lean_ctor_release(x_626, 2);
 lean_ctor_release(x_626, 3);
 lean_ctor_release(x_626, 4);
 x_631 = x_626;
} else {
 lean_dec_ref(x_626);
 x_631 = lean_box(0);
}
if (lean_is_scalar(x_631)) {
 x_632 = lean_alloc_ctor(0, 5, 0);
} else {
 x_632 = x_631;
}
lean_ctor_set(x_632, 0, x_627);
lean_ctor_set(x_632, 1, x_83);
lean_ctor_set(x_632, 2, x_628);
lean_ctor_set(x_632, 3, x_629);
lean_ctor_set(x_632, 4, x_630);
x_633 = lean_st_ref_set(x_25, x_632);
x_634 = lean_st_ref_take(x_27);
x_635 = lean_ctor_get(x_634, 0);
lean_inc_ref(x_635);
x_636 = lean_ctor_get(x_634, 1);
lean_inc(x_636);
x_637 = lean_ctor_get(x_634, 2);
lean_inc_ref(x_637);
x_638 = lean_ctor_get(x_634, 3);
lean_inc_ref(x_638);
x_639 = lean_ctor_get(x_634, 4);
lean_inc_ref(x_639);
x_640 = lean_ctor_get(x_634, 6);
lean_inc_ref(x_640);
x_641 = lean_ctor_get(x_634, 7);
lean_inc_ref(x_641);
x_642 = lean_ctor_get(x_634, 8);
lean_inc_ref(x_642);
if (lean_is_exclusive(x_634)) {
 lean_ctor_release(x_634, 0);
 lean_ctor_release(x_634, 1);
 lean_ctor_release(x_634, 2);
 lean_ctor_release(x_634, 3);
 lean_ctor_release(x_634, 4);
 lean_ctor_release(x_634, 5);
 lean_ctor_release(x_634, 6);
 lean_ctor_release(x_634, 7);
 lean_ctor_release(x_634, 8);
 x_643 = x_634;
} else {
 lean_dec_ref(x_634);
 x_643 = lean_box(0);
}
lean_inc(x_611);
x_644 = l_Lean_addProtected(x_635, x_611);
if (lean_is_scalar(x_643)) {
 x_645 = lean_alloc_ctor(0, 9, 0);
} else {
 x_645 = x_643;
}
lean_ctor_set(x_645, 0, x_644);
lean_ctor_set(x_645, 1, x_636);
lean_ctor_set(x_645, 2, x_637);
lean_ctor_set(x_645, 3, x_638);
lean_ctor_set(x_645, 4, x_639);
lean_ctor_set(x_645, 5, x_78);
lean_ctor_set(x_645, 6, x_640);
lean_ctor_set(x_645, 7, x_641);
lean_ctor_set(x_645, 8, x_642);
x_646 = lean_st_ref_set(x_27, x_645);
x_647 = lean_st_ref_take(x_25);
x_648 = lean_ctor_get(x_647, 0);
lean_inc_ref(x_648);
x_649 = lean_ctor_get(x_647, 2);
lean_inc(x_649);
x_650 = lean_ctor_get(x_647, 3);
lean_inc_ref(x_650);
x_651 = lean_ctor_get(x_647, 4);
lean_inc_ref(x_651);
if (lean_is_exclusive(x_647)) {
 lean_ctor_release(x_647, 0);
 lean_ctor_release(x_647, 1);
 lean_ctor_release(x_647, 2);
 lean_ctor_release(x_647, 3);
 lean_ctor_release(x_647, 4);
 x_652 = x_647;
} else {
 lean_dec_ref(x_647);
 x_652 = lean_box(0);
}
if (lean_is_scalar(x_652)) {
 x_653 = lean_alloc_ctor(0, 5, 0);
} else {
 x_653 = x_652;
}
lean_ctor_set(x_653, 0, x_648);
lean_ctor_set(x_653, 1, x_83);
lean_ctor_set(x_653, 2, x_649);
lean_ctor_set(x_653, 3, x_650);
lean_ctor_set(x_653, 4, x_651);
x_654 = lean_st_ref_set(x_25, x_653);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_655 = l_Lean_Meta_mkPProdSndM(x_86, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_655) == 0)
{
lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; 
x_656 = lean_ctor_get(x_655, 0);
lean_inc(x_656);
lean_dec_ref(x_655);
x_657 = l_Lean_Expr_const___override(x_611, x_19);
x_658 = l_Lean_mkAppN(x_657, x_53);
x_659 = lean_array_get(x_11, x_23, x_12);
lean_dec_ref(x_23);
x_660 = l_Lean_mkAppN(x_659, x_42);
lean_dec_ref(x_42);
x_661 = l_Lean_Expr_app___override(x_660, x_656);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_662 = l_Lean_Meta_mkEq(x_658, x_661, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_662) == 0)
{
lean_object* x_663; lean_object* x_664; lean_object* x_665; 
x_663 = lean_ctor_get(x_662, 0);
lean_inc(x_663);
lean_dec_ref(x_662);
x_664 = lean_box(0);
lean_inc_ref(x_24);
lean_inc(x_663);
x_665 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_663, x_664, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_665) == 0)
{
lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; 
x_666 = lean_ctor_get(x_665, 0);
lean_inc(x_666);
lean_dec_ref(x_665);
x_667 = l_Lean_Expr_mvarId_x21(x_666);
x_668 = l_Lean_Expr_fvarId_x21(x_14);
lean_dec_ref(x_14);
x_669 = lean_mk_empty_array_with_capacity(x_21);
x_670 = lean_box(0);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_671 = l_Lean_MVarId_cases(x_667, x_668, x_669, x_54, x_670, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_671) == 0)
{
lean_object* x_672; lean_object* x_673; size_t x_674; lean_object* x_675; 
x_672 = lean_ctor_get(x_671, 0);
lean_inc(x_672);
lean_dec_ref(x_671);
x_673 = lean_box(0);
x_674 = lean_array_size(x_672);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_675 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__4(x_54, x_673, x_672, x_674, x_8, x_673, x_24, x_25, x_26, x_27);
lean_dec(x_672);
if (lean_obj_tag(x_675) == 0)
{
lean_object* x_676; lean_object* x_677; lean_object* x_678; 
lean_dec_ref(x_675);
x_676 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___redArg(x_666, x_25);
x_677 = lean_ctor_get(x_676, 0);
lean_inc(x_677);
lean_dec_ref(x_676);
x_678 = l_Lean_Meta_mkForallFVars(x_53, x_663, x_54, x_16, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_678) == 0)
{
lean_object* x_679; lean_object* x_680; 
x_679 = lean_ctor_get(x_678, 0);
lean_inc(x_679);
lean_dec_ref(x_678);
x_680 = l_Lean_Meta_mkLambdaFVars(x_53, x_677, x_54, x_16, x_54, x_16, x_55, x_24, x_25, x_26, x_27);
lean_dec_ref(x_24);
lean_dec_ref(x_53);
if (lean_obj_tag(x_680) == 0)
{
lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; 
x_681 = lean_ctor_get(x_680, 0);
lean_inc(x_681);
lean_dec_ref(x_680);
lean_inc(x_22);
x_682 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_682, 0, x_22);
lean_ctor_set(x_682, 1, x_18);
lean_ctor_set(x_682, 2, x_679);
x_683 = lean_box(0);
lean_inc(x_22);
lean_ctor_set_tag(x_34, 1);
lean_ctor_set(x_34, 1, x_683);
lean_ctor_set(x_34, 0, x_22);
lean_ctor_set(x_67, 2, x_34);
lean_ctor_set(x_67, 1, x_681);
lean_ctor_set(x_67, 0, x_682);
x_684 = l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___redArg(x_67, x_27);
x_685 = lean_ctor_get(x_684, 0);
lean_inc(x_685);
lean_dec_ref(x_684);
lean_inc(x_27);
x_686 = l_Lean_addDecl(x_685, x_54, x_26, x_27);
if (lean_obj_tag(x_686) == 0)
{
lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; 
if (lean_is_exclusive(x_686)) {
 lean_ctor_release(x_686, 0);
 x_687 = x_686;
} else {
 lean_dec_ref(x_686);
 x_687 = lean_box(0);
}
x_688 = lean_st_ref_take(x_27);
x_689 = lean_ctor_get(x_688, 0);
lean_inc_ref(x_689);
x_690 = lean_ctor_get(x_688, 1);
lean_inc(x_690);
x_691 = lean_ctor_get(x_688, 2);
lean_inc_ref(x_691);
x_692 = lean_ctor_get(x_688, 3);
lean_inc_ref(x_692);
x_693 = lean_ctor_get(x_688, 4);
lean_inc_ref(x_693);
x_694 = lean_ctor_get(x_688, 6);
lean_inc_ref(x_694);
x_695 = lean_ctor_get(x_688, 7);
lean_inc_ref(x_695);
x_696 = lean_ctor_get(x_688, 8);
lean_inc_ref(x_696);
if (lean_is_exclusive(x_688)) {
 lean_ctor_release(x_688, 0);
 lean_ctor_release(x_688, 1);
 lean_ctor_release(x_688, 2);
 lean_ctor_release(x_688, 3);
 lean_ctor_release(x_688, 4);
 lean_ctor_release(x_688, 5);
 lean_ctor_release(x_688, 6);
 lean_ctor_release(x_688, 7);
 lean_ctor_release(x_688, 8);
 x_697 = x_688;
} else {
 lean_dec_ref(x_688);
 x_697 = lean_box(0);
}
x_698 = l_Lean_addProtected(x_689, x_22);
if (lean_is_scalar(x_697)) {
 x_699 = lean_alloc_ctor(0, 9, 0);
} else {
 x_699 = x_697;
}
lean_ctor_set(x_699, 0, x_698);
lean_ctor_set(x_699, 1, x_690);
lean_ctor_set(x_699, 2, x_691);
lean_ctor_set(x_699, 3, x_692);
lean_ctor_set(x_699, 4, x_693);
lean_ctor_set(x_699, 5, x_78);
lean_ctor_set(x_699, 6, x_694);
lean_ctor_set(x_699, 7, x_695);
lean_ctor_set(x_699, 8, x_696);
x_700 = lean_st_ref_set(x_27, x_699);
lean_dec(x_27);
x_701 = lean_st_ref_take(x_25);
x_702 = lean_ctor_get(x_701, 0);
lean_inc_ref(x_702);
x_703 = lean_ctor_get(x_701, 2);
lean_inc(x_703);
x_704 = lean_ctor_get(x_701, 3);
lean_inc_ref(x_704);
x_705 = lean_ctor_get(x_701, 4);
lean_inc_ref(x_705);
if (lean_is_exclusive(x_701)) {
 lean_ctor_release(x_701, 0);
 lean_ctor_release(x_701, 1);
 lean_ctor_release(x_701, 2);
 lean_ctor_release(x_701, 3);
 lean_ctor_release(x_701, 4);
 x_706 = x_701;
} else {
 lean_dec_ref(x_701);
 x_706 = lean_box(0);
}
if (lean_is_scalar(x_706)) {
 x_707 = lean_alloc_ctor(0, 5, 0);
} else {
 x_707 = x_706;
}
lean_ctor_set(x_707, 0, x_702);
lean_ctor_set(x_707, 1, x_83);
lean_ctor_set(x_707, 2, x_703);
lean_ctor_set(x_707, 3, x_704);
lean_ctor_set(x_707, 4, x_705);
x_708 = lean_st_ref_set(x_25, x_707);
lean_dec(x_25);
if (lean_is_scalar(x_687)) {
 x_709 = lean_alloc_ctor(0, 1, 0);
} else {
 x_709 = x_687;
}
lean_ctor_set(x_709, 0, x_673);
return x_709;
}
else
{
lean_dec(x_27);
lean_dec(x_25);
lean_dec(x_22);
return x_686;
}
}
else
{
lean_object* x_710; lean_object* x_711; lean_object* x_712; 
lean_dec(x_679);
lean_free_object(x_67);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec(x_22);
lean_dec(x_18);
x_710 = lean_ctor_get(x_680, 0);
lean_inc(x_710);
if (lean_is_exclusive(x_680)) {
 lean_ctor_release(x_680, 0);
 x_711 = x_680;
} else {
 lean_dec_ref(x_680);
 x_711 = lean_box(0);
}
if (lean_is_scalar(x_711)) {
 x_712 = lean_alloc_ctor(1, 1, 0);
} else {
 x_712 = x_711;
}
lean_ctor_set(x_712, 0, x_710);
return x_712;
}
}
else
{
lean_object* x_713; lean_object* x_714; lean_object* x_715; 
lean_dec(x_677);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_713 = lean_ctor_get(x_678, 0);
lean_inc(x_713);
if (lean_is_exclusive(x_678)) {
 lean_ctor_release(x_678, 0);
 x_714 = x_678;
} else {
 lean_dec_ref(x_678);
 x_714 = lean_box(0);
}
if (lean_is_scalar(x_714)) {
 x_715 = lean_alloc_ctor(1, 1, 0);
} else {
 x_715 = x_714;
}
lean_ctor_set(x_715, 0, x_713);
return x_715;
}
}
else
{
lean_dec(x_666);
lean_dec(x_663);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
return x_675;
}
}
else
{
lean_object* x_716; lean_object* x_717; lean_object* x_718; 
lean_dec(x_666);
lean_dec(x_663);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_716 = lean_ctor_get(x_671, 0);
lean_inc(x_716);
if (lean_is_exclusive(x_671)) {
 lean_ctor_release(x_671, 0);
 x_717 = x_671;
} else {
 lean_dec_ref(x_671);
 x_717 = lean_box(0);
}
if (lean_is_scalar(x_717)) {
 x_718 = lean_alloc_ctor(1, 1, 0);
} else {
 x_718 = x_717;
}
lean_ctor_set(x_718, 0, x_716);
return x_718;
}
}
else
{
lean_object* x_719; lean_object* x_720; lean_object* x_721; 
lean_dec(x_663);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_719 = lean_ctor_get(x_665, 0);
lean_inc(x_719);
if (lean_is_exclusive(x_665)) {
 lean_ctor_release(x_665, 0);
 x_720 = x_665;
} else {
 lean_dec_ref(x_665);
 x_720 = lean_box(0);
}
if (lean_is_scalar(x_720)) {
 x_721 = lean_alloc_ctor(1, 1, 0);
} else {
 x_721 = x_720;
}
lean_ctor_set(x_721, 0, x_719);
return x_721;
}
}
else
{
lean_object* x_722; lean_object* x_723; lean_object* x_724; 
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_722 = lean_ctor_get(x_662, 0);
lean_inc(x_722);
if (lean_is_exclusive(x_662)) {
 lean_ctor_release(x_662, 0);
 x_723 = x_662;
} else {
 lean_dec_ref(x_662);
 x_723 = lean_box(0);
}
if (lean_is_scalar(x_723)) {
 x_724 = lean_alloc_ctor(1, 1, 0);
} else {
 x_724 = x_723;
}
lean_ctor_set(x_724, 0, x_722);
return x_724;
}
}
else
{
lean_object* x_725; lean_object* x_726; lean_object* x_727; 
lean_dec(x_611);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_725 = lean_ctor_get(x_655, 0);
lean_inc(x_725);
if (lean_is_exclusive(x_655)) {
 lean_ctor_release(x_655, 0);
 x_726 = x_655;
} else {
 lean_dec_ref(x_655);
 x_726 = lean_box(0);
}
if (lean_is_scalar(x_726)) {
 x_727 = lean_alloc_ctor(1, 1, 0);
} else {
 x_727 = x_726;
}
lean_ctor_set(x_727, 0, x_725);
return x_727;
}
}
}
else
{
lean_dec(x_95);
lean_dec_ref(x_86);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
return x_96;
}
}
else
{
lean_object* x_728; lean_object* x_729; lean_object* x_730; 
x_728 = lean_ctor_get(x_93, 0);
lean_inc(x_728);
lean_dec(x_93);
lean_inc(x_728);
x_729 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_729, 0, x_728);
lean_inc(x_27);
lean_inc_ref(x_26);
x_730 = l_Lean_addDecl(x_729, x_54, x_26, x_27);
if (lean_obj_tag(x_730) == 0)
{
lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; 
lean_dec_ref(x_730);
x_731 = lean_ctor_get(x_728, 0);
lean_inc_ref(x_731);
lean_dec(x_728);
x_732 = lean_ctor_get(x_731, 0);
lean_inc(x_732);
if (lean_is_exclusive(x_731)) {
 lean_ctor_release(x_731, 0);
 lean_ctor_release(x_731, 1);
 lean_ctor_release(x_731, 2);
 x_733 = x_731;
} else {
 lean_dec_ref(x_731);
 x_733 = lean_box(0);
}
lean_inc(x_732);
x_734 = l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14(x_732, x_24, x_25, x_26, x_27);
lean_dec_ref(x_734);
x_735 = lean_st_ref_take(x_27);
x_736 = lean_ctor_get(x_735, 0);
lean_inc_ref(x_736);
x_737 = lean_ctor_get(x_735, 1);
lean_inc(x_737);
x_738 = lean_ctor_get(x_735, 2);
lean_inc_ref(x_738);
x_739 = lean_ctor_get(x_735, 3);
lean_inc_ref(x_739);
x_740 = lean_ctor_get(x_735, 4);
lean_inc_ref(x_740);
x_741 = lean_ctor_get(x_735, 6);
lean_inc_ref(x_741);
x_742 = lean_ctor_get(x_735, 7);
lean_inc_ref(x_742);
x_743 = lean_ctor_get(x_735, 8);
lean_inc_ref(x_743);
if (lean_is_exclusive(x_735)) {
 lean_ctor_release(x_735, 0);
 lean_ctor_release(x_735, 1);
 lean_ctor_release(x_735, 2);
 lean_ctor_release(x_735, 3);
 lean_ctor_release(x_735, 4);
 lean_ctor_release(x_735, 5);
 lean_ctor_release(x_735, 6);
 lean_ctor_release(x_735, 7);
 lean_ctor_release(x_735, 8);
 x_744 = x_735;
} else {
 lean_dec_ref(x_735);
 x_744 = lean_box(0);
}
lean_inc(x_732);
x_745 = l_Lean_markAuxRecursor(x_736, x_732);
if (lean_is_scalar(x_744)) {
 x_746 = lean_alloc_ctor(0, 9, 0);
} else {
 x_746 = x_744;
}
lean_ctor_set(x_746, 0, x_745);
lean_ctor_set(x_746, 1, x_737);
lean_ctor_set(x_746, 2, x_738);
lean_ctor_set(x_746, 3, x_739);
lean_ctor_set(x_746, 4, x_740);
lean_ctor_set(x_746, 5, x_78);
lean_ctor_set(x_746, 6, x_741);
lean_ctor_set(x_746, 7, x_742);
lean_ctor_set(x_746, 8, x_743);
x_747 = lean_st_ref_set(x_27, x_746);
x_748 = lean_st_ref_take(x_25);
x_749 = lean_ctor_get(x_748, 0);
lean_inc_ref(x_749);
x_750 = lean_ctor_get(x_748, 2);
lean_inc(x_750);
x_751 = lean_ctor_get(x_748, 3);
lean_inc_ref(x_751);
x_752 = lean_ctor_get(x_748, 4);
lean_inc_ref(x_752);
if (lean_is_exclusive(x_748)) {
 lean_ctor_release(x_748, 0);
 lean_ctor_release(x_748, 1);
 lean_ctor_release(x_748, 2);
 lean_ctor_release(x_748, 3);
 lean_ctor_release(x_748, 4);
 x_753 = x_748;
} else {
 lean_dec_ref(x_748);
 x_753 = lean_box(0);
}
if (lean_is_scalar(x_753)) {
 x_754 = lean_alloc_ctor(0, 5, 0);
} else {
 x_754 = x_753;
}
lean_ctor_set(x_754, 0, x_749);
lean_ctor_set(x_754, 1, x_83);
lean_ctor_set(x_754, 2, x_750);
lean_ctor_set(x_754, 3, x_751);
lean_ctor_set(x_754, 4, x_752);
x_755 = lean_st_ref_set(x_25, x_754);
x_756 = lean_st_ref_take(x_27);
x_757 = lean_ctor_get(x_756, 0);
lean_inc_ref(x_757);
x_758 = lean_ctor_get(x_756, 1);
lean_inc(x_758);
x_759 = lean_ctor_get(x_756, 2);
lean_inc_ref(x_759);
x_760 = lean_ctor_get(x_756, 3);
lean_inc_ref(x_760);
x_761 = lean_ctor_get(x_756, 4);
lean_inc_ref(x_761);
x_762 = lean_ctor_get(x_756, 6);
lean_inc_ref(x_762);
x_763 = lean_ctor_get(x_756, 7);
lean_inc_ref(x_763);
x_764 = lean_ctor_get(x_756, 8);
lean_inc_ref(x_764);
if (lean_is_exclusive(x_756)) {
 lean_ctor_release(x_756, 0);
 lean_ctor_release(x_756, 1);
 lean_ctor_release(x_756, 2);
 lean_ctor_release(x_756, 3);
 lean_ctor_release(x_756, 4);
 lean_ctor_release(x_756, 5);
 lean_ctor_release(x_756, 6);
 lean_ctor_release(x_756, 7);
 lean_ctor_release(x_756, 8);
 x_765 = x_756;
} else {
 lean_dec_ref(x_756);
 x_765 = lean_box(0);
}
lean_inc(x_732);
x_766 = l_Lean_addProtected(x_757, x_732);
if (lean_is_scalar(x_765)) {
 x_767 = lean_alloc_ctor(0, 9, 0);
} else {
 x_767 = x_765;
}
lean_ctor_set(x_767, 0, x_766);
lean_ctor_set(x_767, 1, x_758);
lean_ctor_set(x_767, 2, x_759);
lean_ctor_set(x_767, 3, x_760);
lean_ctor_set(x_767, 4, x_761);
lean_ctor_set(x_767, 5, x_78);
lean_ctor_set(x_767, 6, x_762);
lean_ctor_set(x_767, 7, x_763);
lean_ctor_set(x_767, 8, x_764);
x_768 = lean_st_ref_set(x_27, x_767);
x_769 = lean_st_ref_take(x_25);
x_770 = lean_ctor_get(x_769, 0);
lean_inc_ref(x_770);
x_771 = lean_ctor_get(x_769, 2);
lean_inc(x_771);
x_772 = lean_ctor_get(x_769, 3);
lean_inc_ref(x_772);
x_773 = lean_ctor_get(x_769, 4);
lean_inc_ref(x_773);
if (lean_is_exclusive(x_769)) {
 lean_ctor_release(x_769, 0);
 lean_ctor_release(x_769, 1);
 lean_ctor_release(x_769, 2);
 lean_ctor_release(x_769, 3);
 lean_ctor_release(x_769, 4);
 x_774 = x_769;
} else {
 lean_dec_ref(x_769);
 x_774 = lean_box(0);
}
if (lean_is_scalar(x_774)) {
 x_775 = lean_alloc_ctor(0, 5, 0);
} else {
 x_775 = x_774;
}
lean_ctor_set(x_775, 0, x_770);
lean_ctor_set(x_775, 1, x_83);
lean_ctor_set(x_775, 2, x_771);
lean_ctor_set(x_775, 3, x_772);
lean_ctor_set(x_775, 4, x_773);
x_776 = lean_st_ref_set(x_25, x_775);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_777 = l_Lean_Meta_mkPProdSndM(x_86, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_777) == 0)
{
lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; 
x_778 = lean_ctor_get(x_777, 0);
lean_inc(x_778);
lean_dec_ref(x_777);
x_779 = l_Lean_Expr_const___override(x_732, x_19);
x_780 = l_Lean_mkAppN(x_779, x_53);
x_781 = lean_array_get(x_11, x_23, x_12);
lean_dec_ref(x_23);
x_782 = l_Lean_mkAppN(x_781, x_42);
lean_dec_ref(x_42);
x_783 = l_Lean_Expr_app___override(x_782, x_778);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_784 = l_Lean_Meta_mkEq(x_780, x_783, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_784) == 0)
{
lean_object* x_785; lean_object* x_786; lean_object* x_787; 
x_785 = lean_ctor_get(x_784, 0);
lean_inc(x_785);
lean_dec_ref(x_784);
x_786 = lean_box(0);
lean_inc_ref(x_24);
lean_inc(x_785);
x_787 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_785, x_786, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_787) == 0)
{
lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; 
x_788 = lean_ctor_get(x_787, 0);
lean_inc(x_788);
lean_dec_ref(x_787);
x_789 = l_Lean_Expr_mvarId_x21(x_788);
x_790 = l_Lean_Expr_fvarId_x21(x_14);
lean_dec_ref(x_14);
x_791 = lean_mk_empty_array_with_capacity(x_21);
x_792 = lean_box(0);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_793 = l_Lean_MVarId_cases(x_789, x_790, x_791, x_54, x_792, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_793) == 0)
{
lean_object* x_794; lean_object* x_795; size_t x_796; lean_object* x_797; 
x_794 = lean_ctor_get(x_793, 0);
lean_inc(x_794);
lean_dec_ref(x_793);
x_795 = lean_box(0);
x_796 = lean_array_size(x_794);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_797 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__4(x_54, x_795, x_794, x_796, x_8, x_795, x_24, x_25, x_26, x_27);
lean_dec(x_794);
if (lean_obj_tag(x_797) == 0)
{
lean_object* x_798; lean_object* x_799; lean_object* x_800; 
lean_dec_ref(x_797);
x_798 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___redArg(x_788, x_25);
x_799 = lean_ctor_get(x_798, 0);
lean_inc(x_799);
lean_dec_ref(x_798);
x_800 = l_Lean_Meta_mkForallFVars(x_53, x_785, x_54, x_16, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_800) == 0)
{
lean_object* x_801; lean_object* x_802; 
x_801 = lean_ctor_get(x_800, 0);
lean_inc(x_801);
lean_dec_ref(x_800);
x_802 = l_Lean_Meta_mkLambdaFVars(x_53, x_799, x_54, x_16, x_54, x_16, x_55, x_24, x_25, x_26, x_27);
lean_dec_ref(x_24);
lean_dec_ref(x_53);
if (lean_obj_tag(x_802) == 0)
{
lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; 
x_803 = lean_ctor_get(x_802, 0);
lean_inc(x_803);
lean_dec_ref(x_802);
lean_inc(x_22);
if (lean_is_scalar(x_733)) {
 x_804 = lean_alloc_ctor(0, 3, 0);
} else {
 x_804 = x_733;
}
lean_ctor_set(x_804, 0, x_22);
lean_ctor_set(x_804, 1, x_18);
lean_ctor_set(x_804, 2, x_801);
x_805 = lean_box(0);
lean_inc(x_22);
lean_ctor_set_tag(x_34, 1);
lean_ctor_set(x_34, 1, x_805);
lean_ctor_set(x_34, 0, x_22);
lean_ctor_set(x_67, 2, x_34);
lean_ctor_set(x_67, 1, x_803);
lean_ctor_set(x_67, 0, x_804);
x_806 = l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___redArg(x_67, x_27);
x_807 = lean_ctor_get(x_806, 0);
lean_inc(x_807);
lean_dec_ref(x_806);
lean_inc(x_27);
x_808 = l_Lean_addDecl(x_807, x_54, x_26, x_27);
if (lean_obj_tag(x_808) == 0)
{
lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; 
if (lean_is_exclusive(x_808)) {
 lean_ctor_release(x_808, 0);
 x_809 = x_808;
} else {
 lean_dec_ref(x_808);
 x_809 = lean_box(0);
}
x_810 = lean_st_ref_take(x_27);
x_811 = lean_ctor_get(x_810, 0);
lean_inc_ref(x_811);
x_812 = lean_ctor_get(x_810, 1);
lean_inc(x_812);
x_813 = lean_ctor_get(x_810, 2);
lean_inc_ref(x_813);
x_814 = lean_ctor_get(x_810, 3);
lean_inc_ref(x_814);
x_815 = lean_ctor_get(x_810, 4);
lean_inc_ref(x_815);
x_816 = lean_ctor_get(x_810, 6);
lean_inc_ref(x_816);
x_817 = lean_ctor_get(x_810, 7);
lean_inc_ref(x_817);
x_818 = lean_ctor_get(x_810, 8);
lean_inc_ref(x_818);
if (lean_is_exclusive(x_810)) {
 lean_ctor_release(x_810, 0);
 lean_ctor_release(x_810, 1);
 lean_ctor_release(x_810, 2);
 lean_ctor_release(x_810, 3);
 lean_ctor_release(x_810, 4);
 lean_ctor_release(x_810, 5);
 lean_ctor_release(x_810, 6);
 lean_ctor_release(x_810, 7);
 lean_ctor_release(x_810, 8);
 x_819 = x_810;
} else {
 lean_dec_ref(x_810);
 x_819 = lean_box(0);
}
x_820 = l_Lean_addProtected(x_811, x_22);
if (lean_is_scalar(x_819)) {
 x_821 = lean_alloc_ctor(0, 9, 0);
} else {
 x_821 = x_819;
}
lean_ctor_set(x_821, 0, x_820);
lean_ctor_set(x_821, 1, x_812);
lean_ctor_set(x_821, 2, x_813);
lean_ctor_set(x_821, 3, x_814);
lean_ctor_set(x_821, 4, x_815);
lean_ctor_set(x_821, 5, x_78);
lean_ctor_set(x_821, 6, x_816);
lean_ctor_set(x_821, 7, x_817);
lean_ctor_set(x_821, 8, x_818);
x_822 = lean_st_ref_set(x_27, x_821);
lean_dec(x_27);
x_823 = lean_st_ref_take(x_25);
x_824 = lean_ctor_get(x_823, 0);
lean_inc_ref(x_824);
x_825 = lean_ctor_get(x_823, 2);
lean_inc(x_825);
x_826 = lean_ctor_get(x_823, 3);
lean_inc_ref(x_826);
x_827 = lean_ctor_get(x_823, 4);
lean_inc_ref(x_827);
if (lean_is_exclusive(x_823)) {
 lean_ctor_release(x_823, 0);
 lean_ctor_release(x_823, 1);
 lean_ctor_release(x_823, 2);
 lean_ctor_release(x_823, 3);
 lean_ctor_release(x_823, 4);
 x_828 = x_823;
} else {
 lean_dec_ref(x_823);
 x_828 = lean_box(0);
}
if (lean_is_scalar(x_828)) {
 x_829 = lean_alloc_ctor(0, 5, 0);
} else {
 x_829 = x_828;
}
lean_ctor_set(x_829, 0, x_824);
lean_ctor_set(x_829, 1, x_83);
lean_ctor_set(x_829, 2, x_825);
lean_ctor_set(x_829, 3, x_826);
lean_ctor_set(x_829, 4, x_827);
x_830 = lean_st_ref_set(x_25, x_829);
lean_dec(x_25);
if (lean_is_scalar(x_809)) {
 x_831 = lean_alloc_ctor(0, 1, 0);
} else {
 x_831 = x_809;
}
lean_ctor_set(x_831, 0, x_795);
return x_831;
}
else
{
lean_dec(x_27);
lean_dec(x_25);
lean_dec(x_22);
return x_808;
}
}
else
{
lean_object* x_832; lean_object* x_833; lean_object* x_834; 
lean_dec(x_801);
lean_dec(x_733);
lean_free_object(x_67);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec(x_22);
lean_dec(x_18);
x_832 = lean_ctor_get(x_802, 0);
lean_inc(x_832);
if (lean_is_exclusive(x_802)) {
 lean_ctor_release(x_802, 0);
 x_833 = x_802;
} else {
 lean_dec_ref(x_802);
 x_833 = lean_box(0);
}
if (lean_is_scalar(x_833)) {
 x_834 = lean_alloc_ctor(1, 1, 0);
} else {
 x_834 = x_833;
}
lean_ctor_set(x_834, 0, x_832);
return x_834;
}
}
else
{
lean_object* x_835; lean_object* x_836; lean_object* x_837; 
lean_dec(x_799);
lean_dec(x_733);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_835 = lean_ctor_get(x_800, 0);
lean_inc(x_835);
if (lean_is_exclusive(x_800)) {
 lean_ctor_release(x_800, 0);
 x_836 = x_800;
} else {
 lean_dec_ref(x_800);
 x_836 = lean_box(0);
}
if (lean_is_scalar(x_836)) {
 x_837 = lean_alloc_ctor(1, 1, 0);
} else {
 x_837 = x_836;
}
lean_ctor_set(x_837, 0, x_835);
return x_837;
}
}
else
{
lean_dec(x_788);
lean_dec(x_785);
lean_dec(x_733);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
return x_797;
}
}
else
{
lean_object* x_838; lean_object* x_839; lean_object* x_840; 
lean_dec(x_788);
lean_dec(x_785);
lean_dec(x_733);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_838 = lean_ctor_get(x_793, 0);
lean_inc(x_838);
if (lean_is_exclusive(x_793)) {
 lean_ctor_release(x_793, 0);
 x_839 = x_793;
} else {
 lean_dec_ref(x_793);
 x_839 = lean_box(0);
}
if (lean_is_scalar(x_839)) {
 x_840 = lean_alloc_ctor(1, 1, 0);
} else {
 x_840 = x_839;
}
lean_ctor_set(x_840, 0, x_838);
return x_840;
}
}
else
{
lean_object* x_841; lean_object* x_842; lean_object* x_843; 
lean_dec(x_785);
lean_dec(x_733);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_841 = lean_ctor_get(x_787, 0);
lean_inc(x_841);
if (lean_is_exclusive(x_787)) {
 lean_ctor_release(x_787, 0);
 x_842 = x_787;
} else {
 lean_dec_ref(x_787);
 x_842 = lean_box(0);
}
if (lean_is_scalar(x_842)) {
 x_843 = lean_alloc_ctor(1, 1, 0);
} else {
 x_843 = x_842;
}
lean_ctor_set(x_843, 0, x_841);
return x_843;
}
}
else
{
lean_object* x_844; lean_object* x_845; lean_object* x_846; 
lean_dec(x_733);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_844 = lean_ctor_get(x_784, 0);
lean_inc(x_844);
if (lean_is_exclusive(x_784)) {
 lean_ctor_release(x_784, 0);
 x_845 = x_784;
} else {
 lean_dec_ref(x_784);
 x_845 = lean_box(0);
}
if (lean_is_scalar(x_845)) {
 x_846 = lean_alloc_ctor(1, 1, 0);
} else {
 x_846 = x_845;
}
lean_ctor_set(x_846, 0, x_844);
return x_846;
}
}
else
{
lean_object* x_847; lean_object* x_848; lean_object* x_849; 
lean_dec(x_733);
lean_dec(x_732);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_847 = lean_ctor_get(x_777, 0);
lean_inc(x_847);
if (lean_is_exclusive(x_777)) {
 lean_ctor_release(x_777, 0);
 x_848 = x_777;
} else {
 lean_dec_ref(x_777);
 x_848 = lean_box(0);
}
if (lean_is_scalar(x_848)) {
 x_849 = lean_alloc_ctor(1, 1, 0);
} else {
 x_849 = x_848;
}
lean_ctor_set(x_849, 0, x_847);
return x_849;
}
}
else
{
lean_dec(x_728);
lean_dec_ref(x_86);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
return x_730;
}
}
}
else
{
uint8_t x_850; 
lean_dec(x_90);
lean_dec_ref(x_86);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_850 = !lean_is_exclusive(x_91);
if (x_850 == 0)
{
return x_91;
}
else
{
lean_object* x_851; lean_object* x_852; 
x_851 = lean_ctor_get(x_91, 0);
lean_inc(x_851);
lean_dec(x_91);
x_852 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_852, 0, x_851);
return x_852;
}
}
}
else
{
uint8_t x_853; 
lean_dec_ref(x_86);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_43);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_853 = !lean_is_exclusive(x_89);
if (x_853 == 0)
{
return x_89;
}
else
{
lean_object* x_854; lean_object* x_855; 
x_854 = lean_ctor_get(x_89, 0);
lean_inc(x_854);
lean_dec(x_89);
x_855 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_855, 0, x_854);
return x_855;
}
}
}
else
{
uint8_t x_856; 
lean_dec_ref(x_86);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_43);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_856 = !lean_is_exclusive(x_87);
if (x_856 == 0)
{
return x_87;
}
else
{
lean_object* x_857; lean_object* x_858; 
x_857 = lean_ctor_get(x_87, 0);
lean_inc(x_857);
lean_dec(x_87);
x_858 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_858, 0, x_857);
return x_858;
}
}
}
else
{
lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; 
x_859 = lean_ctor_get(x_80, 0);
x_860 = lean_ctor_get(x_80, 2);
x_861 = lean_ctor_get(x_80, 3);
x_862 = lean_ctor_get(x_80, 4);
lean_inc(x_862);
lean_inc(x_861);
lean_inc(x_860);
lean_inc(x_859);
lean_dec(x_80);
x_863 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3;
x_864 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_864, 0, x_859);
lean_ctor_set(x_864, 1, x_863);
lean_ctor_set(x_864, 2, x_860);
lean_ctor_set(x_864, 3, x_861);
lean_ctor_set(x_864, 4, x_862);
x_865 = lean_st_ref_set(x_25, x_864);
lean_inc(x_19);
x_866 = l_Lean_Expr_const___override(x_17, x_19);
x_867 = l_Lean_mkAppN(x_866, x_53);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
lean_inc_ref(x_867);
x_868 = l_Lean_Meta_mkPProdFstM(x_867, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_868) == 0)
{
lean_object* x_869; lean_object* x_870; 
x_869 = lean_ctor_get(x_868, 0);
lean_inc(x_869);
lean_dec_ref(x_868);
x_870 = l_Lean_Meta_mkLambdaFVars(x_53, x_869, x_54, x_16, x_54, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_870) == 0)
{
lean_object* x_871; lean_object* x_872; 
x_871 = lean_ctor_get(x_870, 0);
lean_inc(x_871);
lean_dec_ref(x_870);
x_872 = l_Lean_Meta_mkForallFVars(x_53, x_43, x_54, x_16, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_872) == 0)
{
lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; 
x_873 = lean_ctor_get(x_872, 0);
lean_inc(x_873);
lean_dec_ref(x_872);
lean_inc(x_18);
x_874 = l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13___redArg(x_20, x_18, x_873, x_871, x_62, x_27);
x_875 = lean_ctor_get(x_874, 0);
lean_inc(x_875);
if (lean_is_exclusive(x_874)) {
 lean_ctor_release(x_874, 0);
 x_876 = x_874;
} else {
 lean_dec_ref(x_874);
 x_876 = lean_box(0);
}
lean_inc(x_875);
if (lean_is_scalar(x_876)) {
 x_877 = lean_alloc_ctor(1, 1, 0);
} else {
 x_877 = x_876;
 lean_ctor_set_tag(x_877, 1);
}
lean_ctor_set(x_877, 0, x_875);
lean_inc(x_27);
lean_inc_ref(x_26);
x_878 = l_Lean_addDecl(x_877, x_54, x_26, x_27);
if (lean_obj_tag(x_878) == 0)
{
lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; 
lean_dec_ref(x_878);
x_879 = lean_ctor_get(x_875, 0);
lean_inc_ref(x_879);
lean_dec(x_875);
x_880 = lean_ctor_get(x_879, 0);
lean_inc(x_880);
if (lean_is_exclusive(x_879)) {
 lean_ctor_release(x_879, 0);
 lean_ctor_release(x_879, 1);
 lean_ctor_release(x_879, 2);
 x_881 = x_879;
} else {
 lean_dec_ref(x_879);
 x_881 = lean_box(0);
}
lean_inc(x_880);
x_882 = l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14(x_880, x_24, x_25, x_26, x_27);
lean_dec_ref(x_882);
x_883 = lean_st_ref_take(x_27);
x_884 = lean_ctor_get(x_883, 0);
lean_inc_ref(x_884);
x_885 = lean_ctor_get(x_883, 1);
lean_inc(x_885);
x_886 = lean_ctor_get(x_883, 2);
lean_inc_ref(x_886);
x_887 = lean_ctor_get(x_883, 3);
lean_inc_ref(x_887);
x_888 = lean_ctor_get(x_883, 4);
lean_inc_ref(x_888);
x_889 = lean_ctor_get(x_883, 6);
lean_inc_ref(x_889);
x_890 = lean_ctor_get(x_883, 7);
lean_inc_ref(x_890);
x_891 = lean_ctor_get(x_883, 8);
lean_inc_ref(x_891);
if (lean_is_exclusive(x_883)) {
 lean_ctor_release(x_883, 0);
 lean_ctor_release(x_883, 1);
 lean_ctor_release(x_883, 2);
 lean_ctor_release(x_883, 3);
 lean_ctor_release(x_883, 4);
 lean_ctor_release(x_883, 5);
 lean_ctor_release(x_883, 6);
 lean_ctor_release(x_883, 7);
 lean_ctor_release(x_883, 8);
 x_892 = x_883;
} else {
 lean_dec_ref(x_883);
 x_892 = lean_box(0);
}
lean_inc(x_880);
x_893 = l_Lean_markAuxRecursor(x_884, x_880);
if (lean_is_scalar(x_892)) {
 x_894 = lean_alloc_ctor(0, 9, 0);
} else {
 x_894 = x_892;
}
lean_ctor_set(x_894, 0, x_893);
lean_ctor_set(x_894, 1, x_885);
lean_ctor_set(x_894, 2, x_886);
lean_ctor_set(x_894, 3, x_887);
lean_ctor_set(x_894, 4, x_888);
lean_ctor_set(x_894, 5, x_78);
lean_ctor_set(x_894, 6, x_889);
lean_ctor_set(x_894, 7, x_890);
lean_ctor_set(x_894, 8, x_891);
x_895 = lean_st_ref_set(x_27, x_894);
x_896 = lean_st_ref_take(x_25);
x_897 = lean_ctor_get(x_896, 0);
lean_inc_ref(x_897);
x_898 = lean_ctor_get(x_896, 2);
lean_inc(x_898);
x_899 = lean_ctor_get(x_896, 3);
lean_inc_ref(x_899);
x_900 = lean_ctor_get(x_896, 4);
lean_inc_ref(x_900);
if (lean_is_exclusive(x_896)) {
 lean_ctor_release(x_896, 0);
 lean_ctor_release(x_896, 1);
 lean_ctor_release(x_896, 2);
 lean_ctor_release(x_896, 3);
 lean_ctor_release(x_896, 4);
 x_901 = x_896;
} else {
 lean_dec_ref(x_896);
 x_901 = lean_box(0);
}
if (lean_is_scalar(x_901)) {
 x_902 = lean_alloc_ctor(0, 5, 0);
} else {
 x_902 = x_901;
}
lean_ctor_set(x_902, 0, x_897);
lean_ctor_set(x_902, 1, x_863);
lean_ctor_set(x_902, 2, x_898);
lean_ctor_set(x_902, 3, x_899);
lean_ctor_set(x_902, 4, x_900);
x_903 = lean_st_ref_set(x_25, x_902);
x_904 = lean_st_ref_take(x_27);
x_905 = lean_ctor_get(x_904, 0);
lean_inc_ref(x_905);
x_906 = lean_ctor_get(x_904, 1);
lean_inc(x_906);
x_907 = lean_ctor_get(x_904, 2);
lean_inc_ref(x_907);
x_908 = lean_ctor_get(x_904, 3);
lean_inc_ref(x_908);
x_909 = lean_ctor_get(x_904, 4);
lean_inc_ref(x_909);
x_910 = lean_ctor_get(x_904, 6);
lean_inc_ref(x_910);
x_911 = lean_ctor_get(x_904, 7);
lean_inc_ref(x_911);
x_912 = lean_ctor_get(x_904, 8);
lean_inc_ref(x_912);
if (lean_is_exclusive(x_904)) {
 lean_ctor_release(x_904, 0);
 lean_ctor_release(x_904, 1);
 lean_ctor_release(x_904, 2);
 lean_ctor_release(x_904, 3);
 lean_ctor_release(x_904, 4);
 lean_ctor_release(x_904, 5);
 lean_ctor_release(x_904, 6);
 lean_ctor_release(x_904, 7);
 lean_ctor_release(x_904, 8);
 x_913 = x_904;
} else {
 lean_dec_ref(x_904);
 x_913 = lean_box(0);
}
lean_inc(x_880);
x_914 = l_Lean_addProtected(x_905, x_880);
if (lean_is_scalar(x_913)) {
 x_915 = lean_alloc_ctor(0, 9, 0);
} else {
 x_915 = x_913;
}
lean_ctor_set(x_915, 0, x_914);
lean_ctor_set(x_915, 1, x_906);
lean_ctor_set(x_915, 2, x_907);
lean_ctor_set(x_915, 3, x_908);
lean_ctor_set(x_915, 4, x_909);
lean_ctor_set(x_915, 5, x_78);
lean_ctor_set(x_915, 6, x_910);
lean_ctor_set(x_915, 7, x_911);
lean_ctor_set(x_915, 8, x_912);
x_916 = lean_st_ref_set(x_27, x_915);
x_917 = lean_st_ref_take(x_25);
x_918 = lean_ctor_get(x_917, 0);
lean_inc_ref(x_918);
x_919 = lean_ctor_get(x_917, 2);
lean_inc(x_919);
x_920 = lean_ctor_get(x_917, 3);
lean_inc_ref(x_920);
x_921 = lean_ctor_get(x_917, 4);
lean_inc_ref(x_921);
if (lean_is_exclusive(x_917)) {
 lean_ctor_release(x_917, 0);
 lean_ctor_release(x_917, 1);
 lean_ctor_release(x_917, 2);
 lean_ctor_release(x_917, 3);
 lean_ctor_release(x_917, 4);
 x_922 = x_917;
} else {
 lean_dec_ref(x_917);
 x_922 = lean_box(0);
}
if (lean_is_scalar(x_922)) {
 x_923 = lean_alloc_ctor(0, 5, 0);
} else {
 x_923 = x_922;
}
lean_ctor_set(x_923, 0, x_918);
lean_ctor_set(x_923, 1, x_863);
lean_ctor_set(x_923, 2, x_919);
lean_ctor_set(x_923, 3, x_920);
lean_ctor_set(x_923, 4, x_921);
x_924 = lean_st_ref_set(x_25, x_923);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_925 = l_Lean_Meta_mkPProdSndM(x_867, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_925) == 0)
{
lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; 
x_926 = lean_ctor_get(x_925, 0);
lean_inc(x_926);
lean_dec_ref(x_925);
x_927 = l_Lean_Expr_const___override(x_880, x_19);
x_928 = l_Lean_mkAppN(x_927, x_53);
x_929 = lean_array_get(x_11, x_23, x_12);
lean_dec_ref(x_23);
x_930 = l_Lean_mkAppN(x_929, x_42);
lean_dec_ref(x_42);
x_931 = l_Lean_Expr_app___override(x_930, x_926);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_932 = l_Lean_Meta_mkEq(x_928, x_931, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_932) == 0)
{
lean_object* x_933; lean_object* x_934; lean_object* x_935; 
x_933 = lean_ctor_get(x_932, 0);
lean_inc(x_933);
lean_dec_ref(x_932);
x_934 = lean_box(0);
lean_inc_ref(x_24);
lean_inc(x_933);
x_935 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_933, x_934, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_935) == 0)
{
lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; 
x_936 = lean_ctor_get(x_935, 0);
lean_inc(x_936);
lean_dec_ref(x_935);
x_937 = l_Lean_Expr_mvarId_x21(x_936);
x_938 = l_Lean_Expr_fvarId_x21(x_14);
lean_dec_ref(x_14);
x_939 = lean_mk_empty_array_with_capacity(x_21);
x_940 = lean_box(0);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_941 = l_Lean_MVarId_cases(x_937, x_938, x_939, x_54, x_940, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_941) == 0)
{
lean_object* x_942; lean_object* x_943; size_t x_944; lean_object* x_945; 
x_942 = lean_ctor_get(x_941, 0);
lean_inc(x_942);
lean_dec_ref(x_941);
x_943 = lean_box(0);
x_944 = lean_array_size(x_942);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_945 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__4(x_54, x_943, x_942, x_944, x_8, x_943, x_24, x_25, x_26, x_27);
lean_dec(x_942);
if (lean_obj_tag(x_945) == 0)
{
lean_object* x_946; lean_object* x_947; lean_object* x_948; 
lean_dec_ref(x_945);
x_946 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___redArg(x_936, x_25);
x_947 = lean_ctor_get(x_946, 0);
lean_inc(x_947);
lean_dec_ref(x_946);
x_948 = l_Lean_Meta_mkForallFVars(x_53, x_933, x_54, x_16, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_948) == 0)
{
lean_object* x_949; lean_object* x_950; 
x_949 = lean_ctor_get(x_948, 0);
lean_inc(x_949);
lean_dec_ref(x_948);
x_950 = l_Lean_Meta_mkLambdaFVars(x_53, x_947, x_54, x_16, x_54, x_16, x_55, x_24, x_25, x_26, x_27);
lean_dec_ref(x_24);
lean_dec_ref(x_53);
if (lean_obj_tag(x_950) == 0)
{
lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; 
x_951 = lean_ctor_get(x_950, 0);
lean_inc(x_951);
lean_dec_ref(x_950);
lean_inc(x_22);
if (lean_is_scalar(x_881)) {
 x_952 = lean_alloc_ctor(0, 3, 0);
} else {
 x_952 = x_881;
}
lean_ctor_set(x_952, 0, x_22);
lean_ctor_set(x_952, 1, x_18);
lean_ctor_set(x_952, 2, x_949);
x_953 = lean_box(0);
lean_inc(x_22);
lean_ctor_set_tag(x_34, 1);
lean_ctor_set(x_34, 1, x_953);
lean_ctor_set(x_34, 0, x_22);
lean_ctor_set(x_67, 2, x_34);
lean_ctor_set(x_67, 1, x_951);
lean_ctor_set(x_67, 0, x_952);
x_954 = l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___redArg(x_67, x_27);
x_955 = lean_ctor_get(x_954, 0);
lean_inc(x_955);
lean_dec_ref(x_954);
lean_inc(x_27);
x_956 = l_Lean_addDecl(x_955, x_54, x_26, x_27);
if (lean_obj_tag(x_956) == 0)
{
lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; 
if (lean_is_exclusive(x_956)) {
 lean_ctor_release(x_956, 0);
 x_957 = x_956;
} else {
 lean_dec_ref(x_956);
 x_957 = lean_box(0);
}
x_958 = lean_st_ref_take(x_27);
x_959 = lean_ctor_get(x_958, 0);
lean_inc_ref(x_959);
x_960 = lean_ctor_get(x_958, 1);
lean_inc(x_960);
x_961 = lean_ctor_get(x_958, 2);
lean_inc_ref(x_961);
x_962 = lean_ctor_get(x_958, 3);
lean_inc_ref(x_962);
x_963 = lean_ctor_get(x_958, 4);
lean_inc_ref(x_963);
x_964 = lean_ctor_get(x_958, 6);
lean_inc_ref(x_964);
x_965 = lean_ctor_get(x_958, 7);
lean_inc_ref(x_965);
x_966 = lean_ctor_get(x_958, 8);
lean_inc_ref(x_966);
if (lean_is_exclusive(x_958)) {
 lean_ctor_release(x_958, 0);
 lean_ctor_release(x_958, 1);
 lean_ctor_release(x_958, 2);
 lean_ctor_release(x_958, 3);
 lean_ctor_release(x_958, 4);
 lean_ctor_release(x_958, 5);
 lean_ctor_release(x_958, 6);
 lean_ctor_release(x_958, 7);
 lean_ctor_release(x_958, 8);
 x_967 = x_958;
} else {
 lean_dec_ref(x_958);
 x_967 = lean_box(0);
}
x_968 = l_Lean_addProtected(x_959, x_22);
if (lean_is_scalar(x_967)) {
 x_969 = lean_alloc_ctor(0, 9, 0);
} else {
 x_969 = x_967;
}
lean_ctor_set(x_969, 0, x_968);
lean_ctor_set(x_969, 1, x_960);
lean_ctor_set(x_969, 2, x_961);
lean_ctor_set(x_969, 3, x_962);
lean_ctor_set(x_969, 4, x_963);
lean_ctor_set(x_969, 5, x_78);
lean_ctor_set(x_969, 6, x_964);
lean_ctor_set(x_969, 7, x_965);
lean_ctor_set(x_969, 8, x_966);
x_970 = lean_st_ref_set(x_27, x_969);
lean_dec(x_27);
x_971 = lean_st_ref_take(x_25);
x_972 = lean_ctor_get(x_971, 0);
lean_inc_ref(x_972);
x_973 = lean_ctor_get(x_971, 2);
lean_inc(x_973);
x_974 = lean_ctor_get(x_971, 3);
lean_inc_ref(x_974);
x_975 = lean_ctor_get(x_971, 4);
lean_inc_ref(x_975);
if (lean_is_exclusive(x_971)) {
 lean_ctor_release(x_971, 0);
 lean_ctor_release(x_971, 1);
 lean_ctor_release(x_971, 2);
 lean_ctor_release(x_971, 3);
 lean_ctor_release(x_971, 4);
 x_976 = x_971;
} else {
 lean_dec_ref(x_971);
 x_976 = lean_box(0);
}
if (lean_is_scalar(x_976)) {
 x_977 = lean_alloc_ctor(0, 5, 0);
} else {
 x_977 = x_976;
}
lean_ctor_set(x_977, 0, x_972);
lean_ctor_set(x_977, 1, x_863);
lean_ctor_set(x_977, 2, x_973);
lean_ctor_set(x_977, 3, x_974);
lean_ctor_set(x_977, 4, x_975);
x_978 = lean_st_ref_set(x_25, x_977);
lean_dec(x_25);
if (lean_is_scalar(x_957)) {
 x_979 = lean_alloc_ctor(0, 1, 0);
} else {
 x_979 = x_957;
}
lean_ctor_set(x_979, 0, x_943);
return x_979;
}
else
{
lean_dec(x_27);
lean_dec(x_25);
lean_dec(x_22);
return x_956;
}
}
else
{
lean_object* x_980; lean_object* x_981; lean_object* x_982; 
lean_dec(x_949);
lean_dec(x_881);
lean_free_object(x_67);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec(x_22);
lean_dec(x_18);
x_980 = lean_ctor_get(x_950, 0);
lean_inc(x_980);
if (lean_is_exclusive(x_950)) {
 lean_ctor_release(x_950, 0);
 x_981 = x_950;
} else {
 lean_dec_ref(x_950);
 x_981 = lean_box(0);
}
if (lean_is_scalar(x_981)) {
 x_982 = lean_alloc_ctor(1, 1, 0);
} else {
 x_982 = x_981;
}
lean_ctor_set(x_982, 0, x_980);
return x_982;
}
}
else
{
lean_object* x_983; lean_object* x_984; lean_object* x_985; 
lean_dec(x_947);
lean_dec(x_881);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_983 = lean_ctor_get(x_948, 0);
lean_inc(x_983);
if (lean_is_exclusive(x_948)) {
 lean_ctor_release(x_948, 0);
 x_984 = x_948;
} else {
 lean_dec_ref(x_948);
 x_984 = lean_box(0);
}
if (lean_is_scalar(x_984)) {
 x_985 = lean_alloc_ctor(1, 1, 0);
} else {
 x_985 = x_984;
}
lean_ctor_set(x_985, 0, x_983);
return x_985;
}
}
else
{
lean_dec(x_936);
lean_dec(x_933);
lean_dec(x_881);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
return x_945;
}
}
else
{
lean_object* x_986; lean_object* x_987; lean_object* x_988; 
lean_dec(x_936);
lean_dec(x_933);
lean_dec(x_881);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_986 = lean_ctor_get(x_941, 0);
lean_inc(x_986);
if (lean_is_exclusive(x_941)) {
 lean_ctor_release(x_941, 0);
 x_987 = x_941;
} else {
 lean_dec_ref(x_941);
 x_987 = lean_box(0);
}
if (lean_is_scalar(x_987)) {
 x_988 = lean_alloc_ctor(1, 1, 0);
} else {
 x_988 = x_987;
}
lean_ctor_set(x_988, 0, x_986);
return x_988;
}
}
else
{
lean_object* x_989; lean_object* x_990; lean_object* x_991; 
lean_dec(x_933);
lean_dec(x_881);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_989 = lean_ctor_get(x_935, 0);
lean_inc(x_989);
if (lean_is_exclusive(x_935)) {
 lean_ctor_release(x_935, 0);
 x_990 = x_935;
} else {
 lean_dec_ref(x_935);
 x_990 = lean_box(0);
}
if (lean_is_scalar(x_990)) {
 x_991 = lean_alloc_ctor(1, 1, 0);
} else {
 x_991 = x_990;
}
lean_ctor_set(x_991, 0, x_989);
return x_991;
}
}
else
{
lean_object* x_992; lean_object* x_993; lean_object* x_994; 
lean_dec(x_881);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_992 = lean_ctor_get(x_932, 0);
lean_inc(x_992);
if (lean_is_exclusive(x_932)) {
 lean_ctor_release(x_932, 0);
 x_993 = x_932;
} else {
 lean_dec_ref(x_932);
 x_993 = lean_box(0);
}
if (lean_is_scalar(x_993)) {
 x_994 = lean_alloc_ctor(1, 1, 0);
} else {
 x_994 = x_993;
}
lean_ctor_set(x_994, 0, x_992);
return x_994;
}
}
else
{
lean_object* x_995; lean_object* x_996; lean_object* x_997; 
lean_dec(x_881);
lean_dec(x_880);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_995 = lean_ctor_get(x_925, 0);
lean_inc(x_995);
if (lean_is_exclusive(x_925)) {
 lean_ctor_release(x_925, 0);
 x_996 = x_925;
} else {
 lean_dec_ref(x_925);
 x_996 = lean_box(0);
}
if (lean_is_scalar(x_996)) {
 x_997 = lean_alloc_ctor(1, 1, 0);
} else {
 x_997 = x_996;
}
lean_ctor_set(x_997, 0, x_995);
return x_997;
}
}
else
{
lean_dec(x_875);
lean_dec_ref(x_867);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
return x_878;
}
}
else
{
lean_object* x_998; lean_object* x_999; lean_object* x_1000; 
lean_dec(x_871);
lean_dec_ref(x_867);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_998 = lean_ctor_get(x_872, 0);
lean_inc(x_998);
if (lean_is_exclusive(x_872)) {
 lean_ctor_release(x_872, 0);
 x_999 = x_872;
} else {
 lean_dec_ref(x_872);
 x_999 = lean_box(0);
}
if (lean_is_scalar(x_999)) {
 x_1000 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1000 = x_999;
}
lean_ctor_set(x_1000, 0, x_998);
return x_1000;
}
}
else
{
lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; 
lean_dec_ref(x_867);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_43);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1001 = lean_ctor_get(x_870, 0);
lean_inc(x_1001);
if (lean_is_exclusive(x_870)) {
 lean_ctor_release(x_870, 0);
 x_1002 = x_870;
} else {
 lean_dec_ref(x_870);
 x_1002 = lean_box(0);
}
if (lean_is_scalar(x_1002)) {
 x_1003 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1003 = x_1002;
}
lean_ctor_set(x_1003, 0, x_1001);
return x_1003;
}
}
else
{
lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; 
lean_dec_ref(x_867);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_43);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1004 = lean_ctor_get(x_868, 0);
lean_inc(x_1004);
if (lean_is_exclusive(x_868)) {
 lean_ctor_release(x_868, 0);
 x_1005 = x_868;
} else {
 lean_dec_ref(x_868);
 x_1005 = lean_box(0);
}
if (lean_is_scalar(x_1005)) {
 x_1006 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1006 = x_1005;
}
lean_ctor_set(x_1006, 0, x_1004);
return x_1006;
}
}
}
else
{
lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; 
x_1007 = lean_ctor_get(x_73, 0);
x_1008 = lean_ctor_get(x_73, 1);
x_1009 = lean_ctor_get(x_73, 2);
x_1010 = lean_ctor_get(x_73, 3);
x_1011 = lean_ctor_get(x_73, 4);
x_1012 = lean_ctor_get(x_73, 6);
x_1013 = lean_ctor_get(x_73, 7);
x_1014 = lean_ctor_get(x_73, 8);
lean_inc(x_1014);
lean_inc(x_1013);
lean_inc(x_1012);
lean_inc(x_1011);
lean_inc(x_1010);
lean_inc(x_1009);
lean_inc(x_1008);
lean_inc(x_1007);
lean_dec(x_73);
x_1015 = l_Lean_addProtected(x_1007, x_69);
x_1016 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__2;
x_1017 = lean_alloc_ctor(0, 9, 0);
lean_ctor_set(x_1017, 0, x_1015);
lean_ctor_set(x_1017, 1, x_1008);
lean_ctor_set(x_1017, 2, x_1009);
lean_ctor_set(x_1017, 3, x_1010);
lean_ctor_set(x_1017, 4, x_1011);
lean_ctor_set(x_1017, 5, x_1016);
lean_ctor_set(x_1017, 6, x_1012);
lean_ctor_set(x_1017, 7, x_1013);
lean_ctor_set(x_1017, 8, x_1014);
x_1018 = lean_st_ref_set(x_27, x_1017);
x_1019 = lean_st_ref_take(x_25);
x_1020 = lean_ctor_get(x_1019, 0);
lean_inc_ref(x_1020);
x_1021 = lean_ctor_get(x_1019, 2);
lean_inc(x_1021);
x_1022 = lean_ctor_get(x_1019, 3);
lean_inc_ref(x_1022);
x_1023 = lean_ctor_get(x_1019, 4);
lean_inc_ref(x_1023);
if (lean_is_exclusive(x_1019)) {
 lean_ctor_release(x_1019, 0);
 lean_ctor_release(x_1019, 1);
 lean_ctor_release(x_1019, 2);
 lean_ctor_release(x_1019, 3);
 lean_ctor_release(x_1019, 4);
 x_1024 = x_1019;
} else {
 lean_dec_ref(x_1019);
 x_1024 = lean_box(0);
}
x_1025 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3;
if (lean_is_scalar(x_1024)) {
 x_1026 = lean_alloc_ctor(0, 5, 0);
} else {
 x_1026 = x_1024;
}
lean_ctor_set(x_1026, 0, x_1020);
lean_ctor_set(x_1026, 1, x_1025);
lean_ctor_set(x_1026, 2, x_1021);
lean_ctor_set(x_1026, 3, x_1022);
lean_ctor_set(x_1026, 4, x_1023);
x_1027 = lean_st_ref_set(x_25, x_1026);
lean_inc(x_19);
x_1028 = l_Lean_Expr_const___override(x_17, x_19);
x_1029 = l_Lean_mkAppN(x_1028, x_53);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
lean_inc_ref(x_1029);
x_1030 = l_Lean_Meta_mkPProdFstM(x_1029, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1030) == 0)
{
lean_object* x_1031; lean_object* x_1032; 
x_1031 = lean_ctor_get(x_1030, 0);
lean_inc(x_1031);
lean_dec_ref(x_1030);
x_1032 = l_Lean_Meta_mkLambdaFVars(x_53, x_1031, x_54, x_16, x_54, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1032) == 0)
{
lean_object* x_1033; lean_object* x_1034; 
x_1033 = lean_ctor_get(x_1032, 0);
lean_inc(x_1033);
lean_dec_ref(x_1032);
x_1034 = l_Lean_Meta_mkForallFVars(x_53, x_43, x_54, x_16, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1034) == 0)
{
lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; 
x_1035 = lean_ctor_get(x_1034, 0);
lean_inc(x_1035);
lean_dec_ref(x_1034);
lean_inc(x_18);
x_1036 = l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13___redArg(x_20, x_18, x_1035, x_1033, x_62, x_27);
x_1037 = lean_ctor_get(x_1036, 0);
lean_inc(x_1037);
if (lean_is_exclusive(x_1036)) {
 lean_ctor_release(x_1036, 0);
 x_1038 = x_1036;
} else {
 lean_dec_ref(x_1036);
 x_1038 = lean_box(0);
}
lean_inc(x_1037);
if (lean_is_scalar(x_1038)) {
 x_1039 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1039 = x_1038;
 lean_ctor_set_tag(x_1039, 1);
}
lean_ctor_set(x_1039, 0, x_1037);
lean_inc(x_27);
lean_inc_ref(x_26);
x_1040 = l_Lean_addDecl(x_1039, x_54, x_26, x_27);
if (lean_obj_tag(x_1040) == 0)
{
lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; 
lean_dec_ref(x_1040);
x_1041 = lean_ctor_get(x_1037, 0);
lean_inc_ref(x_1041);
lean_dec(x_1037);
x_1042 = lean_ctor_get(x_1041, 0);
lean_inc(x_1042);
if (lean_is_exclusive(x_1041)) {
 lean_ctor_release(x_1041, 0);
 lean_ctor_release(x_1041, 1);
 lean_ctor_release(x_1041, 2);
 x_1043 = x_1041;
} else {
 lean_dec_ref(x_1041);
 x_1043 = lean_box(0);
}
lean_inc(x_1042);
x_1044 = l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14(x_1042, x_24, x_25, x_26, x_27);
lean_dec_ref(x_1044);
x_1045 = lean_st_ref_take(x_27);
x_1046 = lean_ctor_get(x_1045, 0);
lean_inc_ref(x_1046);
x_1047 = lean_ctor_get(x_1045, 1);
lean_inc(x_1047);
x_1048 = lean_ctor_get(x_1045, 2);
lean_inc_ref(x_1048);
x_1049 = lean_ctor_get(x_1045, 3);
lean_inc_ref(x_1049);
x_1050 = lean_ctor_get(x_1045, 4);
lean_inc_ref(x_1050);
x_1051 = lean_ctor_get(x_1045, 6);
lean_inc_ref(x_1051);
x_1052 = lean_ctor_get(x_1045, 7);
lean_inc_ref(x_1052);
x_1053 = lean_ctor_get(x_1045, 8);
lean_inc_ref(x_1053);
if (lean_is_exclusive(x_1045)) {
 lean_ctor_release(x_1045, 0);
 lean_ctor_release(x_1045, 1);
 lean_ctor_release(x_1045, 2);
 lean_ctor_release(x_1045, 3);
 lean_ctor_release(x_1045, 4);
 lean_ctor_release(x_1045, 5);
 lean_ctor_release(x_1045, 6);
 lean_ctor_release(x_1045, 7);
 lean_ctor_release(x_1045, 8);
 x_1054 = x_1045;
} else {
 lean_dec_ref(x_1045);
 x_1054 = lean_box(0);
}
lean_inc(x_1042);
x_1055 = l_Lean_markAuxRecursor(x_1046, x_1042);
if (lean_is_scalar(x_1054)) {
 x_1056 = lean_alloc_ctor(0, 9, 0);
} else {
 x_1056 = x_1054;
}
lean_ctor_set(x_1056, 0, x_1055);
lean_ctor_set(x_1056, 1, x_1047);
lean_ctor_set(x_1056, 2, x_1048);
lean_ctor_set(x_1056, 3, x_1049);
lean_ctor_set(x_1056, 4, x_1050);
lean_ctor_set(x_1056, 5, x_1016);
lean_ctor_set(x_1056, 6, x_1051);
lean_ctor_set(x_1056, 7, x_1052);
lean_ctor_set(x_1056, 8, x_1053);
x_1057 = lean_st_ref_set(x_27, x_1056);
x_1058 = lean_st_ref_take(x_25);
x_1059 = lean_ctor_get(x_1058, 0);
lean_inc_ref(x_1059);
x_1060 = lean_ctor_get(x_1058, 2);
lean_inc(x_1060);
x_1061 = lean_ctor_get(x_1058, 3);
lean_inc_ref(x_1061);
x_1062 = lean_ctor_get(x_1058, 4);
lean_inc_ref(x_1062);
if (lean_is_exclusive(x_1058)) {
 lean_ctor_release(x_1058, 0);
 lean_ctor_release(x_1058, 1);
 lean_ctor_release(x_1058, 2);
 lean_ctor_release(x_1058, 3);
 lean_ctor_release(x_1058, 4);
 x_1063 = x_1058;
} else {
 lean_dec_ref(x_1058);
 x_1063 = lean_box(0);
}
if (lean_is_scalar(x_1063)) {
 x_1064 = lean_alloc_ctor(0, 5, 0);
} else {
 x_1064 = x_1063;
}
lean_ctor_set(x_1064, 0, x_1059);
lean_ctor_set(x_1064, 1, x_1025);
lean_ctor_set(x_1064, 2, x_1060);
lean_ctor_set(x_1064, 3, x_1061);
lean_ctor_set(x_1064, 4, x_1062);
x_1065 = lean_st_ref_set(x_25, x_1064);
x_1066 = lean_st_ref_take(x_27);
x_1067 = lean_ctor_get(x_1066, 0);
lean_inc_ref(x_1067);
x_1068 = lean_ctor_get(x_1066, 1);
lean_inc(x_1068);
x_1069 = lean_ctor_get(x_1066, 2);
lean_inc_ref(x_1069);
x_1070 = lean_ctor_get(x_1066, 3);
lean_inc_ref(x_1070);
x_1071 = lean_ctor_get(x_1066, 4);
lean_inc_ref(x_1071);
x_1072 = lean_ctor_get(x_1066, 6);
lean_inc_ref(x_1072);
x_1073 = lean_ctor_get(x_1066, 7);
lean_inc_ref(x_1073);
x_1074 = lean_ctor_get(x_1066, 8);
lean_inc_ref(x_1074);
if (lean_is_exclusive(x_1066)) {
 lean_ctor_release(x_1066, 0);
 lean_ctor_release(x_1066, 1);
 lean_ctor_release(x_1066, 2);
 lean_ctor_release(x_1066, 3);
 lean_ctor_release(x_1066, 4);
 lean_ctor_release(x_1066, 5);
 lean_ctor_release(x_1066, 6);
 lean_ctor_release(x_1066, 7);
 lean_ctor_release(x_1066, 8);
 x_1075 = x_1066;
} else {
 lean_dec_ref(x_1066);
 x_1075 = lean_box(0);
}
lean_inc(x_1042);
x_1076 = l_Lean_addProtected(x_1067, x_1042);
if (lean_is_scalar(x_1075)) {
 x_1077 = lean_alloc_ctor(0, 9, 0);
} else {
 x_1077 = x_1075;
}
lean_ctor_set(x_1077, 0, x_1076);
lean_ctor_set(x_1077, 1, x_1068);
lean_ctor_set(x_1077, 2, x_1069);
lean_ctor_set(x_1077, 3, x_1070);
lean_ctor_set(x_1077, 4, x_1071);
lean_ctor_set(x_1077, 5, x_1016);
lean_ctor_set(x_1077, 6, x_1072);
lean_ctor_set(x_1077, 7, x_1073);
lean_ctor_set(x_1077, 8, x_1074);
x_1078 = lean_st_ref_set(x_27, x_1077);
x_1079 = lean_st_ref_take(x_25);
x_1080 = lean_ctor_get(x_1079, 0);
lean_inc_ref(x_1080);
x_1081 = lean_ctor_get(x_1079, 2);
lean_inc(x_1081);
x_1082 = lean_ctor_get(x_1079, 3);
lean_inc_ref(x_1082);
x_1083 = lean_ctor_get(x_1079, 4);
lean_inc_ref(x_1083);
if (lean_is_exclusive(x_1079)) {
 lean_ctor_release(x_1079, 0);
 lean_ctor_release(x_1079, 1);
 lean_ctor_release(x_1079, 2);
 lean_ctor_release(x_1079, 3);
 lean_ctor_release(x_1079, 4);
 x_1084 = x_1079;
} else {
 lean_dec_ref(x_1079);
 x_1084 = lean_box(0);
}
if (lean_is_scalar(x_1084)) {
 x_1085 = lean_alloc_ctor(0, 5, 0);
} else {
 x_1085 = x_1084;
}
lean_ctor_set(x_1085, 0, x_1080);
lean_ctor_set(x_1085, 1, x_1025);
lean_ctor_set(x_1085, 2, x_1081);
lean_ctor_set(x_1085, 3, x_1082);
lean_ctor_set(x_1085, 4, x_1083);
x_1086 = lean_st_ref_set(x_25, x_1085);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_1087 = l_Lean_Meta_mkPProdSndM(x_1029, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1087) == 0)
{
lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; 
x_1088 = lean_ctor_get(x_1087, 0);
lean_inc(x_1088);
lean_dec_ref(x_1087);
x_1089 = l_Lean_Expr_const___override(x_1042, x_19);
x_1090 = l_Lean_mkAppN(x_1089, x_53);
x_1091 = lean_array_get(x_11, x_23, x_12);
lean_dec_ref(x_23);
x_1092 = l_Lean_mkAppN(x_1091, x_42);
lean_dec_ref(x_42);
x_1093 = l_Lean_Expr_app___override(x_1092, x_1088);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_1094 = l_Lean_Meta_mkEq(x_1090, x_1093, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1094) == 0)
{
lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; 
x_1095 = lean_ctor_get(x_1094, 0);
lean_inc(x_1095);
lean_dec_ref(x_1094);
x_1096 = lean_box(0);
lean_inc_ref(x_24);
lean_inc(x_1095);
x_1097 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_1095, x_1096, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1097) == 0)
{
lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; 
x_1098 = lean_ctor_get(x_1097, 0);
lean_inc(x_1098);
lean_dec_ref(x_1097);
x_1099 = l_Lean_Expr_mvarId_x21(x_1098);
x_1100 = l_Lean_Expr_fvarId_x21(x_14);
lean_dec_ref(x_14);
x_1101 = lean_mk_empty_array_with_capacity(x_21);
x_1102 = lean_box(0);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_1103 = l_Lean_MVarId_cases(x_1099, x_1100, x_1101, x_54, x_1102, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1103) == 0)
{
lean_object* x_1104; lean_object* x_1105; size_t x_1106; lean_object* x_1107; 
x_1104 = lean_ctor_get(x_1103, 0);
lean_inc(x_1104);
lean_dec_ref(x_1103);
x_1105 = lean_box(0);
x_1106 = lean_array_size(x_1104);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_1107 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__4(x_54, x_1105, x_1104, x_1106, x_8, x_1105, x_24, x_25, x_26, x_27);
lean_dec(x_1104);
if (lean_obj_tag(x_1107) == 0)
{
lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; 
lean_dec_ref(x_1107);
x_1108 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___redArg(x_1098, x_25);
x_1109 = lean_ctor_get(x_1108, 0);
lean_inc(x_1109);
lean_dec_ref(x_1108);
x_1110 = l_Lean_Meta_mkForallFVars(x_53, x_1095, x_54, x_16, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1110) == 0)
{
lean_object* x_1111; lean_object* x_1112; 
x_1111 = lean_ctor_get(x_1110, 0);
lean_inc(x_1111);
lean_dec_ref(x_1110);
x_1112 = l_Lean_Meta_mkLambdaFVars(x_53, x_1109, x_54, x_16, x_54, x_16, x_55, x_24, x_25, x_26, x_27);
lean_dec_ref(x_24);
lean_dec_ref(x_53);
if (lean_obj_tag(x_1112) == 0)
{
lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; 
x_1113 = lean_ctor_get(x_1112, 0);
lean_inc(x_1113);
lean_dec_ref(x_1112);
lean_inc(x_22);
if (lean_is_scalar(x_1043)) {
 x_1114 = lean_alloc_ctor(0, 3, 0);
} else {
 x_1114 = x_1043;
}
lean_ctor_set(x_1114, 0, x_22);
lean_ctor_set(x_1114, 1, x_18);
lean_ctor_set(x_1114, 2, x_1111);
x_1115 = lean_box(0);
lean_inc(x_22);
lean_ctor_set_tag(x_34, 1);
lean_ctor_set(x_34, 1, x_1115);
lean_ctor_set(x_34, 0, x_22);
lean_ctor_set(x_67, 2, x_34);
lean_ctor_set(x_67, 1, x_1113);
lean_ctor_set(x_67, 0, x_1114);
x_1116 = l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___redArg(x_67, x_27);
x_1117 = lean_ctor_get(x_1116, 0);
lean_inc(x_1117);
lean_dec_ref(x_1116);
lean_inc(x_27);
x_1118 = l_Lean_addDecl(x_1117, x_54, x_26, x_27);
if (lean_obj_tag(x_1118) == 0)
{
lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; 
if (lean_is_exclusive(x_1118)) {
 lean_ctor_release(x_1118, 0);
 x_1119 = x_1118;
} else {
 lean_dec_ref(x_1118);
 x_1119 = lean_box(0);
}
x_1120 = lean_st_ref_take(x_27);
x_1121 = lean_ctor_get(x_1120, 0);
lean_inc_ref(x_1121);
x_1122 = lean_ctor_get(x_1120, 1);
lean_inc(x_1122);
x_1123 = lean_ctor_get(x_1120, 2);
lean_inc_ref(x_1123);
x_1124 = lean_ctor_get(x_1120, 3);
lean_inc_ref(x_1124);
x_1125 = lean_ctor_get(x_1120, 4);
lean_inc_ref(x_1125);
x_1126 = lean_ctor_get(x_1120, 6);
lean_inc_ref(x_1126);
x_1127 = lean_ctor_get(x_1120, 7);
lean_inc_ref(x_1127);
x_1128 = lean_ctor_get(x_1120, 8);
lean_inc_ref(x_1128);
if (lean_is_exclusive(x_1120)) {
 lean_ctor_release(x_1120, 0);
 lean_ctor_release(x_1120, 1);
 lean_ctor_release(x_1120, 2);
 lean_ctor_release(x_1120, 3);
 lean_ctor_release(x_1120, 4);
 lean_ctor_release(x_1120, 5);
 lean_ctor_release(x_1120, 6);
 lean_ctor_release(x_1120, 7);
 lean_ctor_release(x_1120, 8);
 x_1129 = x_1120;
} else {
 lean_dec_ref(x_1120);
 x_1129 = lean_box(0);
}
x_1130 = l_Lean_addProtected(x_1121, x_22);
if (lean_is_scalar(x_1129)) {
 x_1131 = lean_alloc_ctor(0, 9, 0);
} else {
 x_1131 = x_1129;
}
lean_ctor_set(x_1131, 0, x_1130);
lean_ctor_set(x_1131, 1, x_1122);
lean_ctor_set(x_1131, 2, x_1123);
lean_ctor_set(x_1131, 3, x_1124);
lean_ctor_set(x_1131, 4, x_1125);
lean_ctor_set(x_1131, 5, x_1016);
lean_ctor_set(x_1131, 6, x_1126);
lean_ctor_set(x_1131, 7, x_1127);
lean_ctor_set(x_1131, 8, x_1128);
x_1132 = lean_st_ref_set(x_27, x_1131);
lean_dec(x_27);
x_1133 = lean_st_ref_take(x_25);
x_1134 = lean_ctor_get(x_1133, 0);
lean_inc_ref(x_1134);
x_1135 = lean_ctor_get(x_1133, 2);
lean_inc(x_1135);
x_1136 = lean_ctor_get(x_1133, 3);
lean_inc_ref(x_1136);
x_1137 = lean_ctor_get(x_1133, 4);
lean_inc_ref(x_1137);
if (lean_is_exclusive(x_1133)) {
 lean_ctor_release(x_1133, 0);
 lean_ctor_release(x_1133, 1);
 lean_ctor_release(x_1133, 2);
 lean_ctor_release(x_1133, 3);
 lean_ctor_release(x_1133, 4);
 x_1138 = x_1133;
} else {
 lean_dec_ref(x_1133);
 x_1138 = lean_box(0);
}
if (lean_is_scalar(x_1138)) {
 x_1139 = lean_alloc_ctor(0, 5, 0);
} else {
 x_1139 = x_1138;
}
lean_ctor_set(x_1139, 0, x_1134);
lean_ctor_set(x_1139, 1, x_1025);
lean_ctor_set(x_1139, 2, x_1135);
lean_ctor_set(x_1139, 3, x_1136);
lean_ctor_set(x_1139, 4, x_1137);
x_1140 = lean_st_ref_set(x_25, x_1139);
lean_dec(x_25);
if (lean_is_scalar(x_1119)) {
 x_1141 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1141 = x_1119;
}
lean_ctor_set(x_1141, 0, x_1105);
return x_1141;
}
else
{
lean_dec(x_27);
lean_dec(x_25);
lean_dec(x_22);
return x_1118;
}
}
else
{
lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; 
lean_dec(x_1111);
lean_dec(x_1043);
lean_free_object(x_67);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec(x_22);
lean_dec(x_18);
x_1142 = lean_ctor_get(x_1112, 0);
lean_inc(x_1142);
if (lean_is_exclusive(x_1112)) {
 lean_ctor_release(x_1112, 0);
 x_1143 = x_1112;
} else {
 lean_dec_ref(x_1112);
 x_1143 = lean_box(0);
}
if (lean_is_scalar(x_1143)) {
 x_1144 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1144 = x_1143;
}
lean_ctor_set(x_1144, 0, x_1142);
return x_1144;
}
}
else
{
lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; 
lean_dec(x_1109);
lean_dec(x_1043);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_1145 = lean_ctor_get(x_1110, 0);
lean_inc(x_1145);
if (lean_is_exclusive(x_1110)) {
 lean_ctor_release(x_1110, 0);
 x_1146 = x_1110;
} else {
 lean_dec_ref(x_1110);
 x_1146 = lean_box(0);
}
if (lean_is_scalar(x_1146)) {
 x_1147 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1147 = x_1146;
}
lean_ctor_set(x_1147, 0, x_1145);
return x_1147;
}
}
else
{
lean_dec(x_1098);
lean_dec(x_1095);
lean_dec(x_1043);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
return x_1107;
}
}
else
{
lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; 
lean_dec(x_1098);
lean_dec(x_1095);
lean_dec(x_1043);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_1148 = lean_ctor_get(x_1103, 0);
lean_inc(x_1148);
if (lean_is_exclusive(x_1103)) {
 lean_ctor_release(x_1103, 0);
 x_1149 = x_1103;
} else {
 lean_dec_ref(x_1103);
 x_1149 = lean_box(0);
}
if (lean_is_scalar(x_1149)) {
 x_1150 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1150 = x_1149;
}
lean_ctor_set(x_1150, 0, x_1148);
return x_1150;
}
}
else
{
lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; 
lean_dec(x_1095);
lean_dec(x_1043);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_1151 = lean_ctor_get(x_1097, 0);
lean_inc(x_1151);
if (lean_is_exclusive(x_1097)) {
 lean_ctor_release(x_1097, 0);
 x_1152 = x_1097;
} else {
 lean_dec_ref(x_1097);
 x_1152 = lean_box(0);
}
if (lean_is_scalar(x_1152)) {
 x_1153 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1153 = x_1152;
}
lean_ctor_set(x_1153, 0, x_1151);
return x_1153;
}
}
else
{
lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; 
lean_dec(x_1043);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_1154 = lean_ctor_get(x_1094, 0);
lean_inc(x_1154);
if (lean_is_exclusive(x_1094)) {
 lean_ctor_release(x_1094, 0);
 x_1155 = x_1094;
} else {
 lean_dec_ref(x_1094);
 x_1155 = lean_box(0);
}
if (lean_is_scalar(x_1155)) {
 x_1156 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1156 = x_1155;
}
lean_ctor_set(x_1156, 0, x_1154);
return x_1156;
}
}
else
{
lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; 
lean_dec(x_1043);
lean_dec(x_1042);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1157 = lean_ctor_get(x_1087, 0);
lean_inc(x_1157);
if (lean_is_exclusive(x_1087)) {
 lean_ctor_release(x_1087, 0);
 x_1158 = x_1087;
} else {
 lean_dec_ref(x_1087);
 x_1158 = lean_box(0);
}
if (lean_is_scalar(x_1158)) {
 x_1159 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1159 = x_1158;
}
lean_ctor_set(x_1159, 0, x_1157);
return x_1159;
}
}
else
{
lean_dec(x_1037);
lean_dec_ref(x_1029);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
return x_1040;
}
}
else
{
lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; 
lean_dec(x_1033);
lean_dec_ref(x_1029);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1160 = lean_ctor_get(x_1034, 0);
lean_inc(x_1160);
if (lean_is_exclusive(x_1034)) {
 lean_ctor_release(x_1034, 0);
 x_1161 = x_1034;
} else {
 lean_dec_ref(x_1034);
 x_1161 = lean_box(0);
}
if (lean_is_scalar(x_1161)) {
 x_1162 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1162 = x_1161;
}
lean_ctor_set(x_1162, 0, x_1160);
return x_1162;
}
}
else
{
lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; 
lean_dec_ref(x_1029);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_43);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1163 = lean_ctor_get(x_1032, 0);
lean_inc(x_1163);
if (lean_is_exclusive(x_1032)) {
 lean_ctor_release(x_1032, 0);
 x_1164 = x_1032;
} else {
 lean_dec_ref(x_1032);
 x_1164 = lean_box(0);
}
if (lean_is_scalar(x_1164)) {
 x_1165 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1165 = x_1164;
}
lean_ctor_set(x_1165, 0, x_1163);
return x_1165;
}
}
else
{
lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; 
lean_dec_ref(x_1029);
lean_free_object(x_67);
lean_dec_ref(x_53);
lean_dec_ref(x_43);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1166 = lean_ctor_get(x_1030, 0);
lean_inc(x_1166);
if (lean_is_exclusive(x_1030)) {
 lean_ctor_release(x_1030, 0);
 x_1167 = x_1030;
} else {
 lean_dec_ref(x_1030);
 x_1167 = lean_box(0);
}
if (lean_is_scalar(x_1167)) {
 x_1168 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1168 = x_1167;
}
lean_ctor_set(x_1168, 0, x_1166);
return x_1168;
}
}
}
else
{
lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; 
x_1169 = lean_ctor_get(x_67, 0);
lean_inc(x_1169);
lean_dec(x_67);
lean_inc(x_1169);
x_1170 = l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14(x_1169, x_24, x_25, x_26, x_27);
lean_dec_ref(x_1170);
x_1171 = lean_st_ref_take(x_27);
x_1172 = lean_ctor_get(x_1171, 0);
lean_inc_ref(x_1172);
x_1173 = lean_ctor_get(x_1171, 1);
lean_inc(x_1173);
x_1174 = lean_ctor_get(x_1171, 2);
lean_inc_ref(x_1174);
x_1175 = lean_ctor_get(x_1171, 3);
lean_inc_ref(x_1175);
x_1176 = lean_ctor_get(x_1171, 4);
lean_inc_ref(x_1176);
x_1177 = lean_ctor_get(x_1171, 6);
lean_inc_ref(x_1177);
x_1178 = lean_ctor_get(x_1171, 7);
lean_inc_ref(x_1178);
x_1179 = lean_ctor_get(x_1171, 8);
lean_inc_ref(x_1179);
if (lean_is_exclusive(x_1171)) {
 lean_ctor_release(x_1171, 0);
 lean_ctor_release(x_1171, 1);
 lean_ctor_release(x_1171, 2);
 lean_ctor_release(x_1171, 3);
 lean_ctor_release(x_1171, 4);
 lean_ctor_release(x_1171, 5);
 lean_ctor_release(x_1171, 6);
 lean_ctor_release(x_1171, 7);
 lean_ctor_release(x_1171, 8);
 x_1180 = x_1171;
} else {
 lean_dec_ref(x_1171);
 x_1180 = lean_box(0);
}
x_1181 = l_Lean_addProtected(x_1172, x_1169);
x_1182 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__2;
if (lean_is_scalar(x_1180)) {
 x_1183 = lean_alloc_ctor(0, 9, 0);
} else {
 x_1183 = x_1180;
}
lean_ctor_set(x_1183, 0, x_1181);
lean_ctor_set(x_1183, 1, x_1173);
lean_ctor_set(x_1183, 2, x_1174);
lean_ctor_set(x_1183, 3, x_1175);
lean_ctor_set(x_1183, 4, x_1176);
lean_ctor_set(x_1183, 5, x_1182);
lean_ctor_set(x_1183, 6, x_1177);
lean_ctor_set(x_1183, 7, x_1178);
lean_ctor_set(x_1183, 8, x_1179);
x_1184 = lean_st_ref_set(x_27, x_1183);
x_1185 = lean_st_ref_take(x_25);
x_1186 = lean_ctor_get(x_1185, 0);
lean_inc_ref(x_1186);
x_1187 = lean_ctor_get(x_1185, 2);
lean_inc(x_1187);
x_1188 = lean_ctor_get(x_1185, 3);
lean_inc_ref(x_1188);
x_1189 = lean_ctor_get(x_1185, 4);
lean_inc_ref(x_1189);
if (lean_is_exclusive(x_1185)) {
 lean_ctor_release(x_1185, 0);
 lean_ctor_release(x_1185, 1);
 lean_ctor_release(x_1185, 2);
 lean_ctor_release(x_1185, 3);
 lean_ctor_release(x_1185, 4);
 x_1190 = x_1185;
} else {
 lean_dec_ref(x_1185);
 x_1190 = lean_box(0);
}
x_1191 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3;
if (lean_is_scalar(x_1190)) {
 x_1192 = lean_alloc_ctor(0, 5, 0);
} else {
 x_1192 = x_1190;
}
lean_ctor_set(x_1192, 0, x_1186);
lean_ctor_set(x_1192, 1, x_1191);
lean_ctor_set(x_1192, 2, x_1187);
lean_ctor_set(x_1192, 3, x_1188);
lean_ctor_set(x_1192, 4, x_1189);
x_1193 = lean_st_ref_set(x_25, x_1192);
lean_inc(x_19);
x_1194 = l_Lean_Expr_const___override(x_17, x_19);
x_1195 = l_Lean_mkAppN(x_1194, x_53);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
lean_inc_ref(x_1195);
x_1196 = l_Lean_Meta_mkPProdFstM(x_1195, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1196) == 0)
{
lean_object* x_1197; lean_object* x_1198; 
x_1197 = lean_ctor_get(x_1196, 0);
lean_inc(x_1197);
lean_dec_ref(x_1196);
x_1198 = l_Lean_Meta_mkLambdaFVars(x_53, x_1197, x_54, x_16, x_54, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1198) == 0)
{
lean_object* x_1199; lean_object* x_1200; 
x_1199 = lean_ctor_get(x_1198, 0);
lean_inc(x_1199);
lean_dec_ref(x_1198);
x_1200 = l_Lean_Meta_mkForallFVars(x_53, x_43, x_54, x_16, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1200) == 0)
{
lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; 
x_1201 = lean_ctor_get(x_1200, 0);
lean_inc(x_1201);
lean_dec_ref(x_1200);
lean_inc(x_18);
x_1202 = l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13___redArg(x_20, x_18, x_1201, x_1199, x_62, x_27);
x_1203 = lean_ctor_get(x_1202, 0);
lean_inc(x_1203);
if (lean_is_exclusive(x_1202)) {
 lean_ctor_release(x_1202, 0);
 x_1204 = x_1202;
} else {
 lean_dec_ref(x_1202);
 x_1204 = lean_box(0);
}
lean_inc(x_1203);
if (lean_is_scalar(x_1204)) {
 x_1205 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1205 = x_1204;
 lean_ctor_set_tag(x_1205, 1);
}
lean_ctor_set(x_1205, 0, x_1203);
lean_inc(x_27);
lean_inc_ref(x_26);
x_1206 = l_Lean_addDecl(x_1205, x_54, x_26, x_27);
if (lean_obj_tag(x_1206) == 0)
{
lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; 
lean_dec_ref(x_1206);
x_1207 = lean_ctor_get(x_1203, 0);
lean_inc_ref(x_1207);
lean_dec(x_1203);
x_1208 = lean_ctor_get(x_1207, 0);
lean_inc(x_1208);
if (lean_is_exclusive(x_1207)) {
 lean_ctor_release(x_1207, 0);
 lean_ctor_release(x_1207, 1);
 lean_ctor_release(x_1207, 2);
 x_1209 = x_1207;
} else {
 lean_dec_ref(x_1207);
 x_1209 = lean_box(0);
}
lean_inc(x_1208);
x_1210 = l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14(x_1208, x_24, x_25, x_26, x_27);
lean_dec_ref(x_1210);
x_1211 = lean_st_ref_take(x_27);
x_1212 = lean_ctor_get(x_1211, 0);
lean_inc_ref(x_1212);
x_1213 = lean_ctor_get(x_1211, 1);
lean_inc(x_1213);
x_1214 = lean_ctor_get(x_1211, 2);
lean_inc_ref(x_1214);
x_1215 = lean_ctor_get(x_1211, 3);
lean_inc_ref(x_1215);
x_1216 = lean_ctor_get(x_1211, 4);
lean_inc_ref(x_1216);
x_1217 = lean_ctor_get(x_1211, 6);
lean_inc_ref(x_1217);
x_1218 = lean_ctor_get(x_1211, 7);
lean_inc_ref(x_1218);
x_1219 = lean_ctor_get(x_1211, 8);
lean_inc_ref(x_1219);
if (lean_is_exclusive(x_1211)) {
 lean_ctor_release(x_1211, 0);
 lean_ctor_release(x_1211, 1);
 lean_ctor_release(x_1211, 2);
 lean_ctor_release(x_1211, 3);
 lean_ctor_release(x_1211, 4);
 lean_ctor_release(x_1211, 5);
 lean_ctor_release(x_1211, 6);
 lean_ctor_release(x_1211, 7);
 lean_ctor_release(x_1211, 8);
 x_1220 = x_1211;
} else {
 lean_dec_ref(x_1211);
 x_1220 = lean_box(0);
}
lean_inc(x_1208);
x_1221 = l_Lean_markAuxRecursor(x_1212, x_1208);
if (lean_is_scalar(x_1220)) {
 x_1222 = lean_alloc_ctor(0, 9, 0);
} else {
 x_1222 = x_1220;
}
lean_ctor_set(x_1222, 0, x_1221);
lean_ctor_set(x_1222, 1, x_1213);
lean_ctor_set(x_1222, 2, x_1214);
lean_ctor_set(x_1222, 3, x_1215);
lean_ctor_set(x_1222, 4, x_1216);
lean_ctor_set(x_1222, 5, x_1182);
lean_ctor_set(x_1222, 6, x_1217);
lean_ctor_set(x_1222, 7, x_1218);
lean_ctor_set(x_1222, 8, x_1219);
x_1223 = lean_st_ref_set(x_27, x_1222);
x_1224 = lean_st_ref_take(x_25);
x_1225 = lean_ctor_get(x_1224, 0);
lean_inc_ref(x_1225);
x_1226 = lean_ctor_get(x_1224, 2);
lean_inc(x_1226);
x_1227 = lean_ctor_get(x_1224, 3);
lean_inc_ref(x_1227);
x_1228 = lean_ctor_get(x_1224, 4);
lean_inc_ref(x_1228);
if (lean_is_exclusive(x_1224)) {
 lean_ctor_release(x_1224, 0);
 lean_ctor_release(x_1224, 1);
 lean_ctor_release(x_1224, 2);
 lean_ctor_release(x_1224, 3);
 lean_ctor_release(x_1224, 4);
 x_1229 = x_1224;
} else {
 lean_dec_ref(x_1224);
 x_1229 = lean_box(0);
}
if (lean_is_scalar(x_1229)) {
 x_1230 = lean_alloc_ctor(0, 5, 0);
} else {
 x_1230 = x_1229;
}
lean_ctor_set(x_1230, 0, x_1225);
lean_ctor_set(x_1230, 1, x_1191);
lean_ctor_set(x_1230, 2, x_1226);
lean_ctor_set(x_1230, 3, x_1227);
lean_ctor_set(x_1230, 4, x_1228);
x_1231 = lean_st_ref_set(x_25, x_1230);
x_1232 = lean_st_ref_take(x_27);
x_1233 = lean_ctor_get(x_1232, 0);
lean_inc_ref(x_1233);
x_1234 = lean_ctor_get(x_1232, 1);
lean_inc(x_1234);
x_1235 = lean_ctor_get(x_1232, 2);
lean_inc_ref(x_1235);
x_1236 = lean_ctor_get(x_1232, 3);
lean_inc_ref(x_1236);
x_1237 = lean_ctor_get(x_1232, 4);
lean_inc_ref(x_1237);
x_1238 = lean_ctor_get(x_1232, 6);
lean_inc_ref(x_1238);
x_1239 = lean_ctor_get(x_1232, 7);
lean_inc_ref(x_1239);
x_1240 = lean_ctor_get(x_1232, 8);
lean_inc_ref(x_1240);
if (lean_is_exclusive(x_1232)) {
 lean_ctor_release(x_1232, 0);
 lean_ctor_release(x_1232, 1);
 lean_ctor_release(x_1232, 2);
 lean_ctor_release(x_1232, 3);
 lean_ctor_release(x_1232, 4);
 lean_ctor_release(x_1232, 5);
 lean_ctor_release(x_1232, 6);
 lean_ctor_release(x_1232, 7);
 lean_ctor_release(x_1232, 8);
 x_1241 = x_1232;
} else {
 lean_dec_ref(x_1232);
 x_1241 = lean_box(0);
}
lean_inc(x_1208);
x_1242 = l_Lean_addProtected(x_1233, x_1208);
if (lean_is_scalar(x_1241)) {
 x_1243 = lean_alloc_ctor(0, 9, 0);
} else {
 x_1243 = x_1241;
}
lean_ctor_set(x_1243, 0, x_1242);
lean_ctor_set(x_1243, 1, x_1234);
lean_ctor_set(x_1243, 2, x_1235);
lean_ctor_set(x_1243, 3, x_1236);
lean_ctor_set(x_1243, 4, x_1237);
lean_ctor_set(x_1243, 5, x_1182);
lean_ctor_set(x_1243, 6, x_1238);
lean_ctor_set(x_1243, 7, x_1239);
lean_ctor_set(x_1243, 8, x_1240);
x_1244 = lean_st_ref_set(x_27, x_1243);
x_1245 = lean_st_ref_take(x_25);
x_1246 = lean_ctor_get(x_1245, 0);
lean_inc_ref(x_1246);
x_1247 = lean_ctor_get(x_1245, 2);
lean_inc(x_1247);
x_1248 = lean_ctor_get(x_1245, 3);
lean_inc_ref(x_1248);
x_1249 = lean_ctor_get(x_1245, 4);
lean_inc_ref(x_1249);
if (lean_is_exclusive(x_1245)) {
 lean_ctor_release(x_1245, 0);
 lean_ctor_release(x_1245, 1);
 lean_ctor_release(x_1245, 2);
 lean_ctor_release(x_1245, 3);
 lean_ctor_release(x_1245, 4);
 x_1250 = x_1245;
} else {
 lean_dec_ref(x_1245);
 x_1250 = lean_box(0);
}
if (lean_is_scalar(x_1250)) {
 x_1251 = lean_alloc_ctor(0, 5, 0);
} else {
 x_1251 = x_1250;
}
lean_ctor_set(x_1251, 0, x_1246);
lean_ctor_set(x_1251, 1, x_1191);
lean_ctor_set(x_1251, 2, x_1247);
lean_ctor_set(x_1251, 3, x_1248);
lean_ctor_set(x_1251, 4, x_1249);
x_1252 = lean_st_ref_set(x_25, x_1251);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_1253 = l_Lean_Meta_mkPProdSndM(x_1195, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1253) == 0)
{
lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; 
x_1254 = lean_ctor_get(x_1253, 0);
lean_inc(x_1254);
lean_dec_ref(x_1253);
x_1255 = l_Lean_Expr_const___override(x_1208, x_19);
x_1256 = l_Lean_mkAppN(x_1255, x_53);
x_1257 = lean_array_get(x_11, x_23, x_12);
lean_dec_ref(x_23);
x_1258 = l_Lean_mkAppN(x_1257, x_42);
lean_dec_ref(x_42);
x_1259 = l_Lean_Expr_app___override(x_1258, x_1254);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_1260 = l_Lean_Meta_mkEq(x_1256, x_1259, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1260) == 0)
{
lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; 
x_1261 = lean_ctor_get(x_1260, 0);
lean_inc(x_1261);
lean_dec_ref(x_1260);
x_1262 = lean_box(0);
lean_inc_ref(x_24);
lean_inc(x_1261);
x_1263 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_1261, x_1262, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1263) == 0)
{
lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; 
x_1264 = lean_ctor_get(x_1263, 0);
lean_inc(x_1264);
lean_dec_ref(x_1263);
x_1265 = l_Lean_Expr_mvarId_x21(x_1264);
x_1266 = l_Lean_Expr_fvarId_x21(x_14);
lean_dec_ref(x_14);
x_1267 = lean_mk_empty_array_with_capacity(x_21);
x_1268 = lean_box(0);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_1269 = l_Lean_MVarId_cases(x_1265, x_1266, x_1267, x_54, x_1268, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1269) == 0)
{
lean_object* x_1270; lean_object* x_1271; size_t x_1272; lean_object* x_1273; 
x_1270 = lean_ctor_get(x_1269, 0);
lean_inc(x_1270);
lean_dec_ref(x_1269);
x_1271 = lean_box(0);
x_1272 = lean_array_size(x_1270);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_1273 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__4(x_54, x_1271, x_1270, x_1272, x_8, x_1271, x_24, x_25, x_26, x_27);
lean_dec(x_1270);
if (lean_obj_tag(x_1273) == 0)
{
lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; 
lean_dec_ref(x_1273);
x_1274 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___redArg(x_1264, x_25);
x_1275 = lean_ctor_get(x_1274, 0);
lean_inc(x_1275);
lean_dec_ref(x_1274);
x_1276 = l_Lean_Meta_mkForallFVars(x_53, x_1261, x_54, x_16, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1276) == 0)
{
lean_object* x_1277; lean_object* x_1278; 
x_1277 = lean_ctor_get(x_1276, 0);
lean_inc(x_1277);
lean_dec_ref(x_1276);
x_1278 = l_Lean_Meta_mkLambdaFVars(x_53, x_1275, x_54, x_16, x_54, x_16, x_55, x_24, x_25, x_26, x_27);
lean_dec_ref(x_24);
lean_dec_ref(x_53);
if (lean_obj_tag(x_1278) == 0)
{
lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; 
x_1279 = lean_ctor_get(x_1278, 0);
lean_inc(x_1279);
lean_dec_ref(x_1278);
lean_inc(x_22);
if (lean_is_scalar(x_1209)) {
 x_1280 = lean_alloc_ctor(0, 3, 0);
} else {
 x_1280 = x_1209;
}
lean_ctor_set(x_1280, 0, x_22);
lean_ctor_set(x_1280, 1, x_18);
lean_ctor_set(x_1280, 2, x_1277);
x_1281 = lean_box(0);
lean_inc(x_22);
lean_ctor_set_tag(x_34, 1);
lean_ctor_set(x_34, 1, x_1281);
lean_ctor_set(x_34, 0, x_22);
x_1282 = lean_alloc_ctor(0, 3, 0);
lean_ctor_set(x_1282, 0, x_1280);
lean_ctor_set(x_1282, 1, x_1279);
lean_ctor_set(x_1282, 2, x_34);
x_1283 = l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___redArg(x_1282, x_27);
x_1284 = lean_ctor_get(x_1283, 0);
lean_inc(x_1284);
lean_dec_ref(x_1283);
lean_inc(x_27);
x_1285 = l_Lean_addDecl(x_1284, x_54, x_26, x_27);
if (lean_obj_tag(x_1285) == 0)
{
lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; 
if (lean_is_exclusive(x_1285)) {
 lean_ctor_release(x_1285, 0);
 x_1286 = x_1285;
} else {
 lean_dec_ref(x_1285);
 x_1286 = lean_box(0);
}
x_1287 = lean_st_ref_take(x_27);
x_1288 = lean_ctor_get(x_1287, 0);
lean_inc_ref(x_1288);
x_1289 = lean_ctor_get(x_1287, 1);
lean_inc(x_1289);
x_1290 = lean_ctor_get(x_1287, 2);
lean_inc_ref(x_1290);
x_1291 = lean_ctor_get(x_1287, 3);
lean_inc_ref(x_1291);
x_1292 = lean_ctor_get(x_1287, 4);
lean_inc_ref(x_1292);
x_1293 = lean_ctor_get(x_1287, 6);
lean_inc_ref(x_1293);
x_1294 = lean_ctor_get(x_1287, 7);
lean_inc_ref(x_1294);
x_1295 = lean_ctor_get(x_1287, 8);
lean_inc_ref(x_1295);
if (lean_is_exclusive(x_1287)) {
 lean_ctor_release(x_1287, 0);
 lean_ctor_release(x_1287, 1);
 lean_ctor_release(x_1287, 2);
 lean_ctor_release(x_1287, 3);
 lean_ctor_release(x_1287, 4);
 lean_ctor_release(x_1287, 5);
 lean_ctor_release(x_1287, 6);
 lean_ctor_release(x_1287, 7);
 lean_ctor_release(x_1287, 8);
 x_1296 = x_1287;
} else {
 lean_dec_ref(x_1287);
 x_1296 = lean_box(0);
}
x_1297 = l_Lean_addProtected(x_1288, x_22);
if (lean_is_scalar(x_1296)) {
 x_1298 = lean_alloc_ctor(0, 9, 0);
} else {
 x_1298 = x_1296;
}
lean_ctor_set(x_1298, 0, x_1297);
lean_ctor_set(x_1298, 1, x_1289);
lean_ctor_set(x_1298, 2, x_1290);
lean_ctor_set(x_1298, 3, x_1291);
lean_ctor_set(x_1298, 4, x_1292);
lean_ctor_set(x_1298, 5, x_1182);
lean_ctor_set(x_1298, 6, x_1293);
lean_ctor_set(x_1298, 7, x_1294);
lean_ctor_set(x_1298, 8, x_1295);
x_1299 = lean_st_ref_set(x_27, x_1298);
lean_dec(x_27);
x_1300 = lean_st_ref_take(x_25);
x_1301 = lean_ctor_get(x_1300, 0);
lean_inc_ref(x_1301);
x_1302 = lean_ctor_get(x_1300, 2);
lean_inc(x_1302);
x_1303 = lean_ctor_get(x_1300, 3);
lean_inc_ref(x_1303);
x_1304 = lean_ctor_get(x_1300, 4);
lean_inc_ref(x_1304);
if (lean_is_exclusive(x_1300)) {
 lean_ctor_release(x_1300, 0);
 lean_ctor_release(x_1300, 1);
 lean_ctor_release(x_1300, 2);
 lean_ctor_release(x_1300, 3);
 lean_ctor_release(x_1300, 4);
 x_1305 = x_1300;
} else {
 lean_dec_ref(x_1300);
 x_1305 = lean_box(0);
}
if (lean_is_scalar(x_1305)) {
 x_1306 = lean_alloc_ctor(0, 5, 0);
} else {
 x_1306 = x_1305;
}
lean_ctor_set(x_1306, 0, x_1301);
lean_ctor_set(x_1306, 1, x_1191);
lean_ctor_set(x_1306, 2, x_1302);
lean_ctor_set(x_1306, 3, x_1303);
lean_ctor_set(x_1306, 4, x_1304);
x_1307 = lean_st_ref_set(x_25, x_1306);
lean_dec(x_25);
if (lean_is_scalar(x_1286)) {
 x_1308 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1308 = x_1286;
}
lean_ctor_set(x_1308, 0, x_1271);
return x_1308;
}
else
{
lean_dec(x_27);
lean_dec(x_25);
lean_dec(x_22);
return x_1285;
}
}
else
{
lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; 
lean_dec(x_1277);
lean_dec(x_1209);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec(x_22);
lean_dec(x_18);
x_1309 = lean_ctor_get(x_1278, 0);
lean_inc(x_1309);
if (lean_is_exclusive(x_1278)) {
 lean_ctor_release(x_1278, 0);
 x_1310 = x_1278;
} else {
 lean_dec_ref(x_1278);
 x_1310 = lean_box(0);
}
if (lean_is_scalar(x_1310)) {
 x_1311 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1311 = x_1310;
}
lean_ctor_set(x_1311, 0, x_1309);
return x_1311;
}
}
else
{
lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; 
lean_dec(x_1275);
lean_dec(x_1209);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_1312 = lean_ctor_get(x_1276, 0);
lean_inc(x_1312);
if (lean_is_exclusive(x_1276)) {
 lean_ctor_release(x_1276, 0);
 x_1313 = x_1276;
} else {
 lean_dec_ref(x_1276);
 x_1313 = lean_box(0);
}
if (lean_is_scalar(x_1313)) {
 x_1314 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1314 = x_1313;
}
lean_ctor_set(x_1314, 0, x_1312);
return x_1314;
}
}
else
{
lean_dec(x_1264);
lean_dec(x_1261);
lean_dec(x_1209);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
return x_1273;
}
}
else
{
lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; 
lean_dec(x_1264);
lean_dec(x_1261);
lean_dec(x_1209);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_1315 = lean_ctor_get(x_1269, 0);
lean_inc(x_1315);
if (lean_is_exclusive(x_1269)) {
 lean_ctor_release(x_1269, 0);
 x_1316 = x_1269;
} else {
 lean_dec_ref(x_1269);
 x_1316 = lean_box(0);
}
if (lean_is_scalar(x_1316)) {
 x_1317 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1317 = x_1316;
}
lean_ctor_set(x_1317, 0, x_1315);
return x_1317;
}
}
else
{
lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; 
lean_dec(x_1261);
lean_dec(x_1209);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_1318 = lean_ctor_get(x_1263, 0);
lean_inc(x_1318);
if (lean_is_exclusive(x_1263)) {
 lean_ctor_release(x_1263, 0);
 x_1319 = x_1263;
} else {
 lean_dec_ref(x_1263);
 x_1319 = lean_box(0);
}
if (lean_is_scalar(x_1319)) {
 x_1320 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1320 = x_1319;
}
lean_ctor_set(x_1320, 0, x_1318);
return x_1320;
}
}
else
{
lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; 
lean_dec(x_1209);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_1321 = lean_ctor_get(x_1260, 0);
lean_inc(x_1321);
if (lean_is_exclusive(x_1260)) {
 lean_ctor_release(x_1260, 0);
 x_1322 = x_1260;
} else {
 lean_dec_ref(x_1260);
 x_1322 = lean_box(0);
}
if (lean_is_scalar(x_1322)) {
 x_1323 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1323 = x_1322;
}
lean_ctor_set(x_1323, 0, x_1321);
return x_1323;
}
}
else
{
lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; 
lean_dec(x_1209);
lean_dec(x_1208);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1324 = lean_ctor_get(x_1253, 0);
lean_inc(x_1324);
if (lean_is_exclusive(x_1253)) {
 lean_ctor_release(x_1253, 0);
 x_1325 = x_1253;
} else {
 lean_dec_ref(x_1253);
 x_1325 = lean_box(0);
}
if (lean_is_scalar(x_1325)) {
 x_1326 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1326 = x_1325;
}
lean_ctor_set(x_1326, 0, x_1324);
return x_1326;
}
}
else
{
lean_dec(x_1203);
lean_dec_ref(x_1195);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
return x_1206;
}
}
else
{
lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; 
lean_dec(x_1199);
lean_dec_ref(x_1195);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1327 = lean_ctor_get(x_1200, 0);
lean_inc(x_1327);
if (lean_is_exclusive(x_1200)) {
 lean_ctor_release(x_1200, 0);
 x_1328 = x_1200;
} else {
 lean_dec_ref(x_1200);
 x_1328 = lean_box(0);
}
if (lean_is_scalar(x_1328)) {
 x_1329 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1329 = x_1328;
}
lean_ctor_set(x_1329, 0, x_1327);
return x_1329;
}
}
else
{
lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; 
lean_dec_ref(x_1195);
lean_dec_ref(x_53);
lean_dec_ref(x_43);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1330 = lean_ctor_get(x_1198, 0);
lean_inc(x_1330);
if (lean_is_exclusive(x_1198)) {
 lean_ctor_release(x_1198, 0);
 x_1331 = x_1198;
} else {
 lean_dec_ref(x_1198);
 x_1331 = lean_box(0);
}
if (lean_is_scalar(x_1331)) {
 x_1332 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1332 = x_1331;
}
lean_ctor_set(x_1332, 0, x_1330);
return x_1332;
}
}
else
{
lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; 
lean_dec_ref(x_1195);
lean_dec_ref(x_53);
lean_dec_ref(x_43);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1333 = lean_ctor_get(x_1196, 0);
lean_inc(x_1333);
if (lean_is_exclusive(x_1196)) {
 lean_ctor_release(x_1196, 0);
 x_1334 = x_1196;
} else {
 lean_dec_ref(x_1196);
 x_1334 = lean_box(0);
}
if (lean_is_scalar(x_1334)) {
 x_1335 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1335 = x_1334;
}
lean_ctor_set(x_1335, 0, x_1333);
return x_1335;
}
}
}
else
{
lean_dec(x_65);
lean_dec_ref(x_53);
lean_dec_ref(x_43);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
return x_66;
}
}
else
{
lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; 
x_1336 = lean_ctor_get(x_63, 0);
lean_inc(x_1336);
lean_dec(x_63);
lean_inc(x_1336);
x_1337 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1337, 0, x_1336);
lean_inc(x_27);
lean_inc_ref(x_26);
x_1338 = l_Lean_addDecl(x_1337, x_54, x_26, x_27);
if (lean_obj_tag(x_1338) == 0)
{
lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; 
lean_dec_ref(x_1338);
x_1339 = lean_ctor_get(x_1336, 0);
lean_inc_ref(x_1339);
lean_dec(x_1336);
x_1340 = lean_ctor_get(x_1339, 0);
lean_inc(x_1340);
if (lean_is_exclusive(x_1339)) {
 lean_ctor_release(x_1339, 0);
 lean_ctor_release(x_1339, 1);
 lean_ctor_release(x_1339, 2);
 x_1341 = x_1339;
} else {
 lean_dec_ref(x_1339);
 x_1341 = lean_box(0);
}
lean_inc(x_1340);
x_1342 = l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14(x_1340, x_24, x_25, x_26, x_27);
lean_dec_ref(x_1342);
x_1343 = lean_st_ref_take(x_27);
x_1344 = lean_ctor_get(x_1343, 0);
lean_inc_ref(x_1344);
x_1345 = lean_ctor_get(x_1343, 1);
lean_inc(x_1345);
x_1346 = lean_ctor_get(x_1343, 2);
lean_inc_ref(x_1346);
x_1347 = lean_ctor_get(x_1343, 3);
lean_inc_ref(x_1347);
x_1348 = lean_ctor_get(x_1343, 4);
lean_inc_ref(x_1348);
x_1349 = lean_ctor_get(x_1343, 6);
lean_inc_ref(x_1349);
x_1350 = lean_ctor_get(x_1343, 7);
lean_inc_ref(x_1350);
x_1351 = lean_ctor_get(x_1343, 8);
lean_inc_ref(x_1351);
if (lean_is_exclusive(x_1343)) {
 lean_ctor_release(x_1343, 0);
 lean_ctor_release(x_1343, 1);
 lean_ctor_release(x_1343, 2);
 lean_ctor_release(x_1343, 3);
 lean_ctor_release(x_1343, 4);
 lean_ctor_release(x_1343, 5);
 lean_ctor_release(x_1343, 6);
 lean_ctor_release(x_1343, 7);
 lean_ctor_release(x_1343, 8);
 x_1352 = x_1343;
} else {
 lean_dec_ref(x_1343);
 x_1352 = lean_box(0);
}
x_1353 = l_Lean_addProtected(x_1344, x_1340);
x_1354 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__2;
if (lean_is_scalar(x_1352)) {
 x_1355 = lean_alloc_ctor(0, 9, 0);
} else {
 x_1355 = x_1352;
}
lean_ctor_set(x_1355, 0, x_1353);
lean_ctor_set(x_1355, 1, x_1345);
lean_ctor_set(x_1355, 2, x_1346);
lean_ctor_set(x_1355, 3, x_1347);
lean_ctor_set(x_1355, 4, x_1348);
lean_ctor_set(x_1355, 5, x_1354);
lean_ctor_set(x_1355, 6, x_1349);
lean_ctor_set(x_1355, 7, x_1350);
lean_ctor_set(x_1355, 8, x_1351);
x_1356 = lean_st_ref_set(x_27, x_1355);
x_1357 = lean_st_ref_take(x_25);
x_1358 = lean_ctor_get(x_1357, 0);
lean_inc_ref(x_1358);
x_1359 = lean_ctor_get(x_1357, 2);
lean_inc(x_1359);
x_1360 = lean_ctor_get(x_1357, 3);
lean_inc_ref(x_1360);
x_1361 = lean_ctor_get(x_1357, 4);
lean_inc_ref(x_1361);
if (lean_is_exclusive(x_1357)) {
 lean_ctor_release(x_1357, 0);
 lean_ctor_release(x_1357, 1);
 lean_ctor_release(x_1357, 2);
 lean_ctor_release(x_1357, 3);
 lean_ctor_release(x_1357, 4);
 x_1362 = x_1357;
} else {
 lean_dec_ref(x_1357);
 x_1362 = lean_box(0);
}
x_1363 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3;
if (lean_is_scalar(x_1362)) {
 x_1364 = lean_alloc_ctor(0, 5, 0);
} else {
 x_1364 = x_1362;
}
lean_ctor_set(x_1364, 0, x_1358);
lean_ctor_set(x_1364, 1, x_1363);
lean_ctor_set(x_1364, 2, x_1359);
lean_ctor_set(x_1364, 3, x_1360);
lean_ctor_set(x_1364, 4, x_1361);
x_1365 = lean_st_ref_set(x_25, x_1364);
lean_inc(x_19);
x_1366 = l_Lean_Expr_const___override(x_17, x_19);
x_1367 = l_Lean_mkAppN(x_1366, x_53);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
lean_inc_ref(x_1367);
x_1368 = l_Lean_Meta_mkPProdFstM(x_1367, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1368) == 0)
{
lean_object* x_1369; lean_object* x_1370; 
x_1369 = lean_ctor_get(x_1368, 0);
lean_inc(x_1369);
lean_dec_ref(x_1368);
x_1370 = l_Lean_Meta_mkLambdaFVars(x_53, x_1369, x_54, x_16, x_54, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1370) == 0)
{
lean_object* x_1371; lean_object* x_1372; 
x_1371 = lean_ctor_get(x_1370, 0);
lean_inc(x_1371);
lean_dec_ref(x_1370);
x_1372 = l_Lean_Meta_mkForallFVars(x_53, x_43, x_54, x_16, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1372) == 0)
{
lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; 
x_1373 = lean_ctor_get(x_1372, 0);
lean_inc(x_1373);
lean_dec_ref(x_1372);
lean_inc(x_18);
x_1374 = l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13___redArg(x_20, x_18, x_1373, x_1371, x_62, x_27);
x_1375 = lean_ctor_get(x_1374, 0);
lean_inc(x_1375);
if (lean_is_exclusive(x_1374)) {
 lean_ctor_release(x_1374, 0);
 x_1376 = x_1374;
} else {
 lean_dec_ref(x_1374);
 x_1376 = lean_box(0);
}
lean_inc(x_1375);
if (lean_is_scalar(x_1376)) {
 x_1377 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1377 = x_1376;
 lean_ctor_set_tag(x_1377, 1);
}
lean_ctor_set(x_1377, 0, x_1375);
lean_inc(x_27);
lean_inc_ref(x_26);
x_1378 = l_Lean_addDecl(x_1377, x_54, x_26, x_27);
if (lean_obj_tag(x_1378) == 0)
{
lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; 
lean_dec_ref(x_1378);
x_1379 = lean_ctor_get(x_1375, 0);
lean_inc_ref(x_1379);
lean_dec(x_1375);
x_1380 = lean_ctor_get(x_1379, 0);
lean_inc(x_1380);
if (lean_is_exclusive(x_1379)) {
 lean_ctor_release(x_1379, 0);
 lean_ctor_release(x_1379, 1);
 lean_ctor_release(x_1379, 2);
 x_1381 = x_1379;
} else {
 lean_dec_ref(x_1379);
 x_1381 = lean_box(0);
}
lean_inc(x_1380);
x_1382 = l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14(x_1380, x_24, x_25, x_26, x_27);
lean_dec_ref(x_1382);
x_1383 = lean_st_ref_take(x_27);
x_1384 = lean_ctor_get(x_1383, 0);
lean_inc_ref(x_1384);
x_1385 = lean_ctor_get(x_1383, 1);
lean_inc(x_1385);
x_1386 = lean_ctor_get(x_1383, 2);
lean_inc_ref(x_1386);
x_1387 = lean_ctor_get(x_1383, 3);
lean_inc_ref(x_1387);
x_1388 = lean_ctor_get(x_1383, 4);
lean_inc_ref(x_1388);
x_1389 = lean_ctor_get(x_1383, 6);
lean_inc_ref(x_1389);
x_1390 = lean_ctor_get(x_1383, 7);
lean_inc_ref(x_1390);
x_1391 = lean_ctor_get(x_1383, 8);
lean_inc_ref(x_1391);
if (lean_is_exclusive(x_1383)) {
 lean_ctor_release(x_1383, 0);
 lean_ctor_release(x_1383, 1);
 lean_ctor_release(x_1383, 2);
 lean_ctor_release(x_1383, 3);
 lean_ctor_release(x_1383, 4);
 lean_ctor_release(x_1383, 5);
 lean_ctor_release(x_1383, 6);
 lean_ctor_release(x_1383, 7);
 lean_ctor_release(x_1383, 8);
 x_1392 = x_1383;
} else {
 lean_dec_ref(x_1383);
 x_1392 = lean_box(0);
}
lean_inc(x_1380);
x_1393 = l_Lean_markAuxRecursor(x_1384, x_1380);
if (lean_is_scalar(x_1392)) {
 x_1394 = lean_alloc_ctor(0, 9, 0);
} else {
 x_1394 = x_1392;
}
lean_ctor_set(x_1394, 0, x_1393);
lean_ctor_set(x_1394, 1, x_1385);
lean_ctor_set(x_1394, 2, x_1386);
lean_ctor_set(x_1394, 3, x_1387);
lean_ctor_set(x_1394, 4, x_1388);
lean_ctor_set(x_1394, 5, x_1354);
lean_ctor_set(x_1394, 6, x_1389);
lean_ctor_set(x_1394, 7, x_1390);
lean_ctor_set(x_1394, 8, x_1391);
x_1395 = lean_st_ref_set(x_27, x_1394);
x_1396 = lean_st_ref_take(x_25);
x_1397 = lean_ctor_get(x_1396, 0);
lean_inc_ref(x_1397);
x_1398 = lean_ctor_get(x_1396, 2);
lean_inc(x_1398);
x_1399 = lean_ctor_get(x_1396, 3);
lean_inc_ref(x_1399);
x_1400 = lean_ctor_get(x_1396, 4);
lean_inc_ref(x_1400);
if (lean_is_exclusive(x_1396)) {
 lean_ctor_release(x_1396, 0);
 lean_ctor_release(x_1396, 1);
 lean_ctor_release(x_1396, 2);
 lean_ctor_release(x_1396, 3);
 lean_ctor_release(x_1396, 4);
 x_1401 = x_1396;
} else {
 lean_dec_ref(x_1396);
 x_1401 = lean_box(0);
}
if (lean_is_scalar(x_1401)) {
 x_1402 = lean_alloc_ctor(0, 5, 0);
} else {
 x_1402 = x_1401;
}
lean_ctor_set(x_1402, 0, x_1397);
lean_ctor_set(x_1402, 1, x_1363);
lean_ctor_set(x_1402, 2, x_1398);
lean_ctor_set(x_1402, 3, x_1399);
lean_ctor_set(x_1402, 4, x_1400);
x_1403 = lean_st_ref_set(x_25, x_1402);
x_1404 = lean_st_ref_take(x_27);
x_1405 = lean_ctor_get(x_1404, 0);
lean_inc_ref(x_1405);
x_1406 = lean_ctor_get(x_1404, 1);
lean_inc(x_1406);
x_1407 = lean_ctor_get(x_1404, 2);
lean_inc_ref(x_1407);
x_1408 = lean_ctor_get(x_1404, 3);
lean_inc_ref(x_1408);
x_1409 = lean_ctor_get(x_1404, 4);
lean_inc_ref(x_1409);
x_1410 = lean_ctor_get(x_1404, 6);
lean_inc_ref(x_1410);
x_1411 = lean_ctor_get(x_1404, 7);
lean_inc_ref(x_1411);
x_1412 = lean_ctor_get(x_1404, 8);
lean_inc_ref(x_1412);
if (lean_is_exclusive(x_1404)) {
 lean_ctor_release(x_1404, 0);
 lean_ctor_release(x_1404, 1);
 lean_ctor_release(x_1404, 2);
 lean_ctor_release(x_1404, 3);
 lean_ctor_release(x_1404, 4);
 lean_ctor_release(x_1404, 5);
 lean_ctor_release(x_1404, 6);
 lean_ctor_release(x_1404, 7);
 lean_ctor_release(x_1404, 8);
 x_1413 = x_1404;
} else {
 lean_dec_ref(x_1404);
 x_1413 = lean_box(0);
}
lean_inc(x_1380);
x_1414 = l_Lean_addProtected(x_1405, x_1380);
if (lean_is_scalar(x_1413)) {
 x_1415 = lean_alloc_ctor(0, 9, 0);
} else {
 x_1415 = x_1413;
}
lean_ctor_set(x_1415, 0, x_1414);
lean_ctor_set(x_1415, 1, x_1406);
lean_ctor_set(x_1415, 2, x_1407);
lean_ctor_set(x_1415, 3, x_1408);
lean_ctor_set(x_1415, 4, x_1409);
lean_ctor_set(x_1415, 5, x_1354);
lean_ctor_set(x_1415, 6, x_1410);
lean_ctor_set(x_1415, 7, x_1411);
lean_ctor_set(x_1415, 8, x_1412);
x_1416 = lean_st_ref_set(x_27, x_1415);
x_1417 = lean_st_ref_take(x_25);
x_1418 = lean_ctor_get(x_1417, 0);
lean_inc_ref(x_1418);
x_1419 = lean_ctor_get(x_1417, 2);
lean_inc(x_1419);
x_1420 = lean_ctor_get(x_1417, 3);
lean_inc_ref(x_1420);
x_1421 = lean_ctor_get(x_1417, 4);
lean_inc_ref(x_1421);
if (lean_is_exclusive(x_1417)) {
 lean_ctor_release(x_1417, 0);
 lean_ctor_release(x_1417, 1);
 lean_ctor_release(x_1417, 2);
 lean_ctor_release(x_1417, 3);
 lean_ctor_release(x_1417, 4);
 x_1422 = x_1417;
} else {
 lean_dec_ref(x_1417);
 x_1422 = lean_box(0);
}
if (lean_is_scalar(x_1422)) {
 x_1423 = lean_alloc_ctor(0, 5, 0);
} else {
 x_1423 = x_1422;
}
lean_ctor_set(x_1423, 0, x_1418);
lean_ctor_set(x_1423, 1, x_1363);
lean_ctor_set(x_1423, 2, x_1419);
lean_ctor_set(x_1423, 3, x_1420);
lean_ctor_set(x_1423, 4, x_1421);
x_1424 = lean_st_ref_set(x_25, x_1423);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_1425 = l_Lean_Meta_mkPProdSndM(x_1367, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1425) == 0)
{
lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; 
x_1426 = lean_ctor_get(x_1425, 0);
lean_inc(x_1426);
lean_dec_ref(x_1425);
x_1427 = l_Lean_Expr_const___override(x_1380, x_19);
x_1428 = l_Lean_mkAppN(x_1427, x_53);
x_1429 = lean_array_get(x_11, x_23, x_12);
lean_dec_ref(x_23);
x_1430 = l_Lean_mkAppN(x_1429, x_42);
lean_dec_ref(x_42);
x_1431 = l_Lean_Expr_app___override(x_1430, x_1426);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_1432 = l_Lean_Meta_mkEq(x_1428, x_1431, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1432) == 0)
{
lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; 
x_1433 = lean_ctor_get(x_1432, 0);
lean_inc(x_1433);
lean_dec_ref(x_1432);
x_1434 = lean_box(0);
lean_inc_ref(x_24);
lean_inc(x_1433);
x_1435 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_1433, x_1434, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1435) == 0)
{
lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; 
x_1436 = lean_ctor_get(x_1435, 0);
lean_inc(x_1436);
lean_dec_ref(x_1435);
x_1437 = l_Lean_Expr_mvarId_x21(x_1436);
x_1438 = l_Lean_Expr_fvarId_x21(x_14);
lean_dec_ref(x_14);
x_1439 = lean_mk_empty_array_with_capacity(x_21);
x_1440 = lean_box(0);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_1441 = l_Lean_MVarId_cases(x_1437, x_1438, x_1439, x_54, x_1440, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1441) == 0)
{
lean_object* x_1442; lean_object* x_1443; size_t x_1444; lean_object* x_1445; 
x_1442 = lean_ctor_get(x_1441, 0);
lean_inc(x_1442);
lean_dec_ref(x_1441);
x_1443 = lean_box(0);
x_1444 = lean_array_size(x_1442);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_1445 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__4(x_54, x_1443, x_1442, x_1444, x_8, x_1443, x_24, x_25, x_26, x_27);
lean_dec(x_1442);
if (lean_obj_tag(x_1445) == 0)
{
lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; 
lean_dec_ref(x_1445);
x_1446 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___redArg(x_1436, x_25);
x_1447 = lean_ctor_get(x_1446, 0);
lean_inc(x_1447);
lean_dec_ref(x_1446);
x_1448 = l_Lean_Meta_mkForallFVars(x_53, x_1433, x_54, x_16, x_16, x_55, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1448) == 0)
{
lean_object* x_1449; lean_object* x_1450; 
x_1449 = lean_ctor_get(x_1448, 0);
lean_inc(x_1449);
lean_dec_ref(x_1448);
x_1450 = l_Lean_Meta_mkLambdaFVars(x_53, x_1447, x_54, x_16, x_54, x_16, x_55, x_24, x_25, x_26, x_27);
lean_dec_ref(x_24);
lean_dec_ref(x_53);
if (lean_obj_tag(x_1450) == 0)
{
lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; 
x_1451 = lean_ctor_get(x_1450, 0);
lean_inc(x_1451);
lean_dec_ref(x_1450);
lean_inc(x_22);
if (lean_is_scalar(x_1381)) {
 x_1452 = lean_alloc_ctor(0, 3, 0);
} else {
 x_1452 = x_1381;
}
lean_ctor_set(x_1452, 0, x_22);
lean_ctor_set(x_1452, 1, x_18);
lean_ctor_set(x_1452, 2, x_1449);
x_1453 = lean_box(0);
lean_inc(x_22);
lean_ctor_set_tag(x_34, 1);
lean_ctor_set(x_34, 1, x_1453);
lean_ctor_set(x_34, 0, x_22);
if (lean_is_scalar(x_1341)) {
 x_1454 = lean_alloc_ctor(0, 3, 0);
} else {
 x_1454 = x_1341;
}
lean_ctor_set(x_1454, 0, x_1452);
lean_ctor_set(x_1454, 1, x_1451);
lean_ctor_set(x_1454, 2, x_34);
x_1455 = l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___redArg(x_1454, x_27);
x_1456 = lean_ctor_get(x_1455, 0);
lean_inc(x_1456);
lean_dec_ref(x_1455);
lean_inc(x_27);
x_1457 = l_Lean_addDecl(x_1456, x_54, x_26, x_27);
if (lean_obj_tag(x_1457) == 0)
{
lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; lean_object* x_1480; 
if (lean_is_exclusive(x_1457)) {
 lean_ctor_release(x_1457, 0);
 x_1458 = x_1457;
} else {
 lean_dec_ref(x_1457);
 x_1458 = lean_box(0);
}
x_1459 = lean_st_ref_take(x_27);
x_1460 = lean_ctor_get(x_1459, 0);
lean_inc_ref(x_1460);
x_1461 = lean_ctor_get(x_1459, 1);
lean_inc(x_1461);
x_1462 = lean_ctor_get(x_1459, 2);
lean_inc_ref(x_1462);
x_1463 = lean_ctor_get(x_1459, 3);
lean_inc_ref(x_1463);
x_1464 = lean_ctor_get(x_1459, 4);
lean_inc_ref(x_1464);
x_1465 = lean_ctor_get(x_1459, 6);
lean_inc_ref(x_1465);
x_1466 = lean_ctor_get(x_1459, 7);
lean_inc_ref(x_1466);
x_1467 = lean_ctor_get(x_1459, 8);
lean_inc_ref(x_1467);
if (lean_is_exclusive(x_1459)) {
 lean_ctor_release(x_1459, 0);
 lean_ctor_release(x_1459, 1);
 lean_ctor_release(x_1459, 2);
 lean_ctor_release(x_1459, 3);
 lean_ctor_release(x_1459, 4);
 lean_ctor_release(x_1459, 5);
 lean_ctor_release(x_1459, 6);
 lean_ctor_release(x_1459, 7);
 lean_ctor_release(x_1459, 8);
 x_1468 = x_1459;
} else {
 lean_dec_ref(x_1459);
 x_1468 = lean_box(0);
}
x_1469 = l_Lean_addProtected(x_1460, x_22);
if (lean_is_scalar(x_1468)) {
 x_1470 = lean_alloc_ctor(0, 9, 0);
} else {
 x_1470 = x_1468;
}
lean_ctor_set(x_1470, 0, x_1469);
lean_ctor_set(x_1470, 1, x_1461);
lean_ctor_set(x_1470, 2, x_1462);
lean_ctor_set(x_1470, 3, x_1463);
lean_ctor_set(x_1470, 4, x_1464);
lean_ctor_set(x_1470, 5, x_1354);
lean_ctor_set(x_1470, 6, x_1465);
lean_ctor_set(x_1470, 7, x_1466);
lean_ctor_set(x_1470, 8, x_1467);
x_1471 = lean_st_ref_set(x_27, x_1470);
lean_dec(x_27);
x_1472 = lean_st_ref_take(x_25);
x_1473 = lean_ctor_get(x_1472, 0);
lean_inc_ref(x_1473);
x_1474 = lean_ctor_get(x_1472, 2);
lean_inc(x_1474);
x_1475 = lean_ctor_get(x_1472, 3);
lean_inc_ref(x_1475);
x_1476 = lean_ctor_get(x_1472, 4);
lean_inc_ref(x_1476);
if (lean_is_exclusive(x_1472)) {
 lean_ctor_release(x_1472, 0);
 lean_ctor_release(x_1472, 1);
 lean_ctor_release(x_1472, 2);
 lean_ctor_release(x_1472, 3);
 lean_ctor_release(x_1472, 4);
 x_1477 = x_1472;
} else {
 lean_dec_ref(x_1472);
 x_1477 = lean_box(0);
}
if (lean_is_scalar(x_1477)) {
 x_1478 = lean_alloc_ctor(0, 5, 0);
} else {
 x_1478 = x_1477;
}
lean_ctor_set(x_1478, 0, x_1473);
lean_ctor_set(x_1478, 1, x_1363);
lean_ctor_set(x_1478, 2, x_1474);
lean_ctor_set(x_1478, 3, x_1475);
lean_ctor_set(x_1478, 4, x_1476);
x_1479 = lean_st_ref_set(x_25, x_1478);
lean_dec(x_25);
if (lean_is_scalar(x_1458)) {
 x_1480 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1480 = x_1458;
}
lean_ctor_set(x_1480, 0, x_1443);
return x_1480;
}
else
{
lean_dec(x_27);
lean_dec(x_25);
lean_dec(x_22);
return x_1457;
}
}
else
{
lean_object* x_1481; lean_object* x_1482; lean_object* x_1483; 
lean_dec(x_1449);
lean_dec(x_1381);
lean_dec(x_1341);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec(x_22);
lean_dec(x_18);
x_1481 = lean_ctor_get(x_1450, 0);
lean_inc(x_1481);
if (lean_is_exclusive(x_1450)) {
 lean_ctor_release(x_1450, 0);
 x_1482 = x_1450;
} else {
 lean_dec_ref(x_1450);
 x_1482 = lean_box(0);
}
if (lean_is_scalar(x_1482)) {
 x_1483 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1483 = x_1482;
}
lean_ctor_set(x_1483, 0, x_1481);
return x_1483;
}
}
else
{
lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; 
lean_dec(x_1447);
lean_dec(x_1381);
lean_dec(x_1341);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_1484 = lean_ctor_get(x_1448, 0);
lean_inc(x_1484);
if (lean_is_exclusive(x_1448)) {
 lean_ctor_release(x_1448, 0);
 x_1485 = x_1448;
} else {
 lean_dec_ref(x_1448);
 x_1485 = lean_box(0);
}
if (lean_is_scalar(x_1485)) {
 x_1486 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1486 = x_1485;
}
lean_ctor_set(x_1486, 0, x_1484);
return x_1486;
}
}
else
{
lean_dec(x_1436);
lean_dec(x_1433);
lean_dec(x_1381);
lean_dec(x_1341);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
return x_1445;
}
}
else
{
lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; 
lean_dec(x_1436);
lean_dec(x_1433);
lean_dec(x_1381);
lean_dec(x_1341);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_1487 = lean_ctor_get(x_1441, 0);
lean_inc(x_1487);
if (lean_is_exclusive(x_1441)) {
 lean_ctor_release(x_1441, 0);
 x_1488 = x_1441;
} else {
 lean_dec_ref(x_1441);
 x_1488 = lean_box(0);
}
if (lean_is_scalar(x_1488)) {
 x_1489 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1489 = x_1488;
}
lean_ctor_set(x_1489, 0, x_1487);
return x_1489;
}
}
else
{
lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; 
lean_dec(x_1433);
lean_dec(x_1381);
lean_dec(x_1341);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_1490 = lean_ctor_get(x_1435, 0);
lean_inc(x_1490);
if (lean_is_exclusive(x_1435)) {
 lean_ctor_release(x_1435, 0);
 x_1491 = x_1435;
} else {
 lean_dec_ref(x_1435);
 x_1491 = lean_box(0);
}
if (lean_is_scalar(x_1491)) {
 x_1492 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1492 = x_1491;
}
lean_ctor_set(x_1492, 0, x_1490);
return x_1492;
}
}
else
{
lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; 
lean_dec(x_1381);
lean_dec(x_1341);
lean_dec_ref(x_53);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_1493 = lean_ctor_get(x_1432, 0);
lean_inc(x_1493);
if (lean_is_exclusive(x_1432)) {
 lean_ctor_release(x_1432, 0);
 x_1494 = x_1432;
} else {
 lean_dec_ref(x_1432);
 x_1494 = lean_box(0);
}
if (lean_is_scalar(x_1494)) {
 x_1495 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1495 = x_1494;
}
lean_ctor_set(x_1495, 0, x_1493);
return x_1495;
}
}
else
{
lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; 
lean_dec(x_1381);
lean_dec(x_1380);
lean_dec(x_1341);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1496 = lean_ctor_get(x_1425, 0);
lean_inc(x_1496);
if (lean_is_exclusive(x_1425)) {
 lean_ctor_release(x_1425, 0);
 x_1497 = x_1425;
} else {
 lean_dec_ref(x_1425);
 x_1497 = lean_box(0);
}
if (lean_is_scalar(x_1497)) {
 x_1498 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1498 = x_1497;
}
lean_ctor_set(x_1498, 0, x_1496);
return x_1498;
}
}
else
{
lean_dec(x_1375);
lean_dec_ref(x_1367);
lean_dec(x_1341);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
return x_1378;
}
}
else
{
lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; 
lean_dec(x_1371);
lean_dec_ref(x_1367);
lean_dec(x_1341);
lean_dec_ref(x_53);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1499 = lean_ctor_get(x_1372, 0);
lean_inc(x_1499);
if (lean_is_exclusive(x_1372)) {
 lean_ctor_release(x_1372, 0);
 x_1500 = x_1372;
} else {
 lean_dec_ref(x_1372);
 x_1500 = lean_box(0);
}
if (lean_is_scalar(x_1500)) {
 x_1501 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1501 = x_1500;
}
lean_ctor_set(x_1501, 0, x_1499);
return x_1501;
}
}
else
{
lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; 
lean_dec_ref(x_1367);
lean_dec(x_1341);
lean_dec_ref(x_53);
lean_dec_ref(x_43);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1502 = lean_ctor_get(x_1370, 0);
lean_inc(x_1502);
if (lean_is_exclusive(x_1370)) {
 lean_ctor_release(x_1370, 0);
 x_1503 = x_1370;
} else {
 lean_dec_ref(x_1370);
 x_1503 = lean_box(0);
}
if (lean_is_scalar(x_1503)) {
 x_1504 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1504 = x_1503;
}
lean_ctor_set(x_1504, 0, x_1502);
return x_1504;
}
}
else
{
lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; 
lean_dec_ref(x_1367);
lean_dec(x_1341);
lean_dec_ref(x_53);
lean_dec_ref(x_43);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1505 = lean_ctor_get(x_1368, 0);
lean_inc(x_1505);
if (lean_is_exclusive(x_1368)) {
 lean_ctor_release(x_1368, 0);
 x_1506 = x_1368;
} else {
 lean_dec_ref(x_1368);
 x_1506 = lean_box(0);
}
if (lean_is_scalar(x_1506)) {
 x_1507 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1507 = x_1506;
}
lean_ctor_set(x_1507, 0, x_1505);
return x_1507;
}
}
else
{
lean_dec(x_1336);
lean_dec_ref(x_53);
lean_dec_ref(x_43);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
return x_1338;
}
}
}
else
{
uint8_t x_1508; 
lean_dec(x_57);
lean_dec_ref(x_53);
lean_dec_ref(x_43);
lean_dec_ref(x_42);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1508 = !lean_is_exclusive(x_60);
if (x_1508 == 0)
{
return x_60;
}
else
{
lean_object* x_1509; lean_object* x_1510; 
x_1509 = lean_ctor_get(x_60, 0);
lean_inc(x_1509);
lean_dec(x_60);
x_1510 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1510, 0, x_1509);
return x_1510;
}
}
}
else
{
uint8_t x_1511; 
lean_dec_ref(x_53);
lean_dec_ref(x_43);
lean_dec_ref(x_42);
lean_dec(x_40);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec_ref(x_14);
lean_dec_ref(x_13);
lean_dec_ref(x_11);
x_1511 = !lean_is_exclusive(x_56);
if (x_1511 == 0)
{
return x_56;
}
else
{
lean_object* x_1512; lean_object* x_1513; 
x_1512 = lean_ctor_get(x_56, 0);
lean_inc(x_1512);
lean_dec(x_56);
x_1513 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1513, 0, x_1512);
return x_1513;
}
}
}
else
{
uint8_t x_1514; 
lean_dec_ref(x_43);
lean_dec_ref(x_42);
lean_dec(x_40);
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec_ref(x_14);
lean_dec_ref(x_13);
lean_dec_ref(x_11);
lean_dec_ref(x_6);
lean_dec_ref(x_4);
x_1514 = !lean_is_exclusive(x_46);
if (x_1514 == 0)
{
return x_46;
}
else
{
lean_object* x_1515; lean_object* x_1516; 
x_1515 = lean_ctor_get(x_46, 0);
lean_inc(x_1515);
lean_dec(x_46);
x_1516 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1516, 0, x_1515);
return x_1516;
}
}
}
else
{
uint8_t x_1517; 
lean_free_object(x_34);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec_ref(x_14);
lean_dec_ref(x_13);
lean_dec_ref(x_11);
lean_dec_ref(x_10);
lean_dec_ref(x_6);
lean_dec_ref(x_4);
x_1517 = !lean_is_exclusive(x_39);
if (x_1517 == 0)
{
return x_39;
}
else
{
lean_object* x_1518; lean_object* x_1519; 
x_1518 = lean_ctor_get(x_39, 0);
lean_inc(x_1518);
lean_dec(x_39);
x_1519 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1519, 0, x_1518);
return x_1519;
}
}
}
else
{
lean_object* x_1520; size_t x_1521; lean_object* x_1522; 
x_1520 = lean_ctor_get(x_34, 1);
lean_inc(x_1520);
lean_dec(x_34);
x_1521 = lean_array_size(x_9);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
lean_inc_ref(x_23);
lean_inc_ref(x_10);
lean_inc_ref(x_6);
x_1522 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__3(x_1, x_6, x_10, x_23, x_9, x_1521, x_8, x_1520, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1522) == 0)
{
lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; 
x_1523 = lean_ctor_get(x_1522, 0);
lean_inc(x_1523);
lean_dec_ref(x_1522);
lean_inc_ref(x_11);
x_1524 = lean_array_get_borrowed(x_11, x_6, x_12);
lean_inc_ref(x_14);
lean_inc_ref(x_13);
x_1525 = lean_array_push(x_13, x_14);
lean_inc(x_1524);
x_1526 = l_Lean_mkAppN(x_1524, x_1525);
lean_inc_ref(x_11);
x_1527 = lean_array_get(x_11, x_10, x_12);
lean_dec_ref(x_10);
x_1528 = l_Lean_mkAppN(x_1527, x_1525);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
lean_inc_ref(x_1526);
x_1529 = l_Lean_Meta_mkPProd(x_1526, x_1528, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1529) == 0)
{
lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; uint8_t x_1537; uint8_t x_1538; lean_object* x_1539; 
x_1530 = lean_ctor_get(x_1529, 0);
lean_inc(x_1530);
lean_dec_ref(x_1529);
x_1531 = l_Array_append___redArg(x_4, x_6);
lean_dec_ref(x_6);
x_1532 = l_Array_append___redArg(x_1531, x_13);
x_1533 = lean_mk_empty_array_with_capacity(x_15);
lean_inc_ref(x_14);
x_1534 = lean_array_push(x_1533, x_14);
x_1535 = l_Array_append___redArg(x_1532, x_1534);
lean_dec_ref(x_1534);
x_1536 = l_Array_append___redArg(x_1535, x_23);
x_1537 = 0;
x_1538 = 1;
x_1539 = l_Lean_Meta_mkForallFVars(x_1536, x_1530, x_1537, x_16, x_16, x_1538, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1539) == 0)
{
lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; 
x_1540 = lean_ctor_get(x_1539, 0);
lean_inc(x_1540);
lean_dec_ref(x_1539);
x_1541 = l_Lean_mkAppN(x_1523, x_13);
lean_dec_ref(x_13);
lean_inc_ref(x_14);
x_1542 = l_Lean_Expr_app___override(x_1541, x_14);
x_1543 = l_Lean_Meta_mkLambdaFVars(x_1536, x_1542, x_1537, x_16, x_1537, x_16, x_1538, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1543) == 0)
{
lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; 
x_1544 = lean_ctor_get(x_1543, 0);
lean_inc(x_1544);
lean_dec_ref(x_1543);
x_1545 = lean_box(1);
lean_inc(x_18);
lean_inc(x_17);
x_1546 = l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13___redArg(x_17, x_18, x_1540, x_1544, x_1545, x_27);
x_1547 = lean_ctor_get(x_1546, 0);
lean_inc(x_1547);
if (lean_is_exclusive(x_1546)) {
 lean_ctor_release(x_1546, 0);
 x_1548 = x_1546;
} else {
 lean_dec_ref(x_1546);
 x_1548 = lean_box(0);
}
lean_inc(x_1547);
if (lean_is_scalar(x_1548)) {
 x_1549 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1549 = x_1548;
 lean_ctor_set_tag(x_1549, 1);
}
lean_ctor_set(x_1549, 0, x_1547);
lean_inc(x_27);
lean_inc_ref(x_26);
x_1550 = l_Lean_addDecl(x_1549, x_1537, x_26, x_27);
if (lean_obj_tag(x_1550) == 0)
{
lean_object* x_1551; lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; 
lean_dec_ref(x_1550);
x_1551 = lean_ctor_get(x_1547, 0);
lean_inc_ref(x_1551);
lean_dec(x_1547);
x_1552 = lean_ctor_get(x_1551, 0);
lean_inc(x_1552);
if (lean_is_exclusive(x_1551)) {
 lean_ctor_release(x_1551, 0);
 lean_ctor_release(x_1551, 1);
 lean_ctor_release(x_1551, 2);
 x_1553 = x_1551;
} else {
 lean_dec_ref(x_1551);
 x_1553 = lean_box(0);
}
lean_inc(x_1552);
x_1554 = l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14(x_1552, x_24, x_25, x_26, x_27);
lean_dec_ref(x_1554);
x_1555 = lean_st_ref_take(x_27);
x_1556 = lean_ctor_get(x_1555, 0);
lean_inc_ref(x_1556);
x_1557 = lean_ctor_get(x_1555, 1);
lean_inc(x_1557);
x_1558 = lean_ctor_get(x_1555, 2);
lean_inc_ref(x_1558);
x_1559 = lean_ctor_get(x_1555, 3);
lean_inc_ref(x_1559);
x_1560 = lean_ctor_get(x_1555, 4);
lean_inc_ref(x_1560);
x_1561 = lean_ctor_get(x_1555, 6);
lean_inc_ref(x_1561);
x_1562 = lean_ctor_get(x_1555, 7);
lean_inc_ref(x_1562);
x_1563 = lean_ctor_get(x_1555, 8);
lean_inc_ref(x_1563);
if (lean_is_exclusive(x_1555)) {
 lean_ctor_release(x_1555, 0);
 lean_ctor_release(x_1555, 1);
 lean_ctor_release(x_1555, 2);
 lean_ctor_release(x_1555, 3);
 lean_ctor_release(x_1555, 4);
 lean_ctor_release(x_1555, 5);
 lean_ctor_release(x_1555, 6);
 lean_ctor_release(x_1555, 7);
 lean_ctor_release(x_1555, 8);
 x_1564 = x_1555;
} else {
 lean_dec_ref(x_1555);
 x_1564 = lean_box(0);
}
x_1565 = l_Lean_addProtected(x_1556, x_1552);
x_1566 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__2;
if (lean_is_scalar(x_1564)) {
 x_1567 = lean_alloc_ctor(0, 9, 0);
} else {
 x_1567 = x_1564;
}
lean_ctor_set(x_1567, 0, x_1565);
lean_ctor_set(x_1567, 1, x_1557);
lean_ctor_set(x_1567, 2, x_1558);
lean_ctor_set(x_1567, 3, x_1559);
lean_ctor_set(x_1567, 4, x_1560);
lean_ctor_set(x_1567, 5, x_1566);
lean_ctor_set(x_1567, 6, x_1561);
lean_ctor_set(x_1567, 7, x_1562);
lean_ctor_set(x_1567, 8, x_1563);
x_1568 = lean_st_ref_set(x_27, x_1567);
x_1569 = lean_st_ref_take(x_25);
x_1570 = lean_ctor_get(x_1569, 0);
lean_inc_ref(x_1570);
x_1571 = lean_ctor_get(x_1569, 2);
lean_inc(x_1571);
x_1572 = lean_ctor_get(x_1569, 3);
lean_inc_ref(x_1572);
x_1573 = lean_ctor_get(x_1569, 4);
lean_inc_ref(x_1573);
if (lean_is_exclusive(x_1569)) {
 lean_ctor_release(x_1569, 0);
 lean_ctor_release(x_1569, 1);
 lean_ctor_release(x_1569, 2);
 lean_ctor_release(x_1569, 3);
 lean_ctor_release(x_1569, 4);
 x_1574 = x_1569;
} else {
 lean_dec_ref(x_1569);
 x_1574 = lean_box(0);
}
x_1575 = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3;
if (lean_is_scalar(x_1574)) {
 x_1576 = lean_alloc_ctor(0, 5, 0);
} else {
 x_1576 = x_1574;
}
lean_ctor_set(x_1576, 0, x_1570);
lean_ctor_set(x_1576, 1, x_1575);
lean_ctor_set(x_1576, 2, x_1571);
lean_ctor_set(x_1576, 3, x_1572);
lean_ctor_set(x_1576, 4, x_1573);
x_1577 = lean_st_ref_set(x_25, x_1576);
lean_inc(x_19);
x_1578 = l_Lean_Expr_const___override(x_17, x_19);
x_1579 = l_Lean_mkAppN(x_1578, x_1536);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
lean_inc_ref(x_1579);
x_1580 = l_Lean_Meta_mkPProdFstM(x_1579, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1580) == 0)
{
lean_object* x_1581; lean_object* x_1582; 
x_1581 = lean_ctor_get(x_1580, 0);
lean_inc(x_1581);
lean_dec_ref(x_1580);
x_1582 = l_Lean_Meta_mkLambdaFVars(x_1536, x_1581, x_1537, x_16, x_1537, x_16, x_1538, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1582) == 0)
{
lean_object* x_1583; lean_object* x_1584; 
x_1583 = lean_ctor_get(x_1582, 0);
lean_inc(x_1583);
lean_dec_ref(x_1582);
x_1584 = l_Lean_Meta_mkForallFVars(x_1536, x_1526, x_1537, x_16, x_16, x_1538, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1584) == 0)
{
lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; 
x_1585 = lean_ctor_get(x_1584, 0);
lean_inc(x_1585);
lean_dec_ref(x_1584);
lean_inc(x_18);
x_1586 = l_Lean_mkDefinitionValInferringUnsafe___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__13___redArg(x_20, x_18, x_1585, x_1583, x_1545, x_27);
x_1587 = lean_ctor_get(x_1586, 0);
lean_inc(x_1587);
if (lean_is_exclusive(x_1586)) {
 lean_ctor_release(x_1586, 0);
 x_1588 = x_1586;
} else {
 lean_dec_ref(x_1586);
 x_1588 = lean_box(0);
}
lean_inc(x_1587);
if (lean_is_scalar(x_1588)) {
 x_1589 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1589 = x_1588;
 lean_ctor_set_tag(x_1589, 1);
}
lean_ctor_set(x_1589, 0, x_1587);
lean_inc(x_27);
lean_inc_ref(x_26);
x_1590 = l_Lean_addDecl(x_1589, x_1537, x_26, x_27);
if (lean_obj_tag(x_1590) == 0)
{
lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; 
lean_dec_ref(x_1590);
x_1591 = lean_ctor_get(x_1587, 0);
lean_inc_ref(x_1591);
lean_dec(x_1587);
x_1592 = lean_ctor_get(x_1591, 0);
lean_inc(x_1592);
if (lean_is_exclusive(x_1591)) {
 lean_ctor_release(x_1591, 0);
 lean_ctor_release(x_1591, 1);
 lean_ctor_release(x_1591, 2);
 x_1593 = x_1591;
} else {
 lean_dec_ref(x_1591);
 x_1593 = lean_box(0);
}
lean_inc(x_1592);
x_1594 = l_Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14(x_1592, x_24, x_25, x_26, x_27);
lean_dec_ref(x_1594);
x_1595 = lean_st_ref_take(x_27);
x_1596 = lean_ctor_get(x_1595, 0);
lean_inc_ref(x_1596);
x_1597 = lean_ctor_get(x_1595, 1);
lean_inc(x_1597);
x_1598 = lean_ctor_get(x_1595, 2);
lean_inc_ref(x_1598);
x_1599 = lean_ctor_get(x_1595, 3);
lean_inc_ref(x_1599);
x_1600 = lean_ctor_get(x_1595, 4);
lean_inc_ref(x_1600);
x_1601 = lean_ctor_get(x_1595, 6);
lean_inc_ref(x_1601);
x_1602 = lean_ctor_get(x_1595, 7);
lean_inc_ref(x_1602);
x_1603 = lean_ctor_get(x_1595, 8);
lean_inc_ref(x_1603);
if (lean_is_exclusive(x_1595)) {
 lean_ctor_release(x_1595, 0);
 lean_ctor_release(x_1595, 1);
 lean_ctor_release(x_1595, 2);
 lean_ctor_release(x_1595, 3);
 lean_ctor_release(x_1595, 4);
 lean_ctor_release(x_1595, 5);
 lean_ctor_release(x_1595, 6);
 lean_ctor_release(x_1595, 7);
 lean_ctor_release(x_1595, 8);
 x_1604 = x_1595;
} else {
 lean_dec_ref(x_1595);
 x_1604 = lean_box(0);
}
lean_inc(x_1592);
x_1605 = l_Lean_markAuxRecursor(x_1596, x_1592);
if (lean_is_scalar(x_1604)) {
 x_1606 = lean_alloc_ctor(0, 9, 0);
} else {
 x_1606 = x_1604;
}
lean_ctor_set(x_1606, 0, x_1605);
lean_ctor_set(x_1606, 1, x_1597);
lean_ctor_set(x_1606, 2, x_1598);
lean_ctor_set(x_1606, 3, x_1599);
lean_ctor_set(x_1606, 4, x_1600);
lean_ctor_set(x_1606, 5, x_1566);
lean_ctor_set(x_1606, 6, x_1601);
lean_ctor_set(x_1606, 7, x_1602);
lean_ctor_set(x_1606, 8, x_1603);
x_1607 = lean_st_ref_set(x_27, x_1606);
x_1608 = lean_st_ref_take(x_25);
x_1609 = lean_ctor_get(x_1608, 0);
lean_inc_ref(x_1609);
x_1610 = lean_ctor_get(x_1608, 2);
lean_inc(x_1610);
x_1611 = lean_ctor_get(x_1608, 3);
lean_inc_ref(x_1611);
x_1612 = lean_ctor_get(x_1608, 4);
lean_inc_ref(x_1612);
if (lean_is_exclusive(x_1608)) {
 lean_ctor_release(x_1608, 0);
 lean_ctor_release(x_1608, 1);
 lean_ctor_release(x_1608, 2);
 lean_ctor_release(x_1608, 3);
 lean_ctor_release(x_1608, 4);
 x_1613 = x_1608;
} else {
 lean_dec_ref(x_1608);
 x_1613 = lean_box(0);
}
if (lean_is_scalar(x_1613)) {
 x_1614 = lean_alloc_ctor(0, 5, 0);
} else {
 x_1614 = x_1613;
}
lean_ctor_set(x_1614, 0, x_1609);
lean_ctor_set(x_1614, 1, x_1575);
lean_ctor_set(x_1614, 2, x_1610);
lean_ctor_set(x_1614, 3, x_1611);
lean_ctor_set(x_1614, 4, x_1612);
x_1615 = lean_st_ref_set(x_25, x_1614);
x_1616 = lean_st_ref_take(x_27);
x_1617 = lean_ctor_get(x_1616, 0);
lean_inc_ref(x_1617);
x_1618 = lean_ctor_get(x_1616, 1);
lean_inc(x_1618);
x_1619 = lean_ctor_get(x_1616, 2);
lean_inc_ref(x_1619);
x_1620 = lean_ctor_get(x_1616, 3);
lean_inc_ref(x_1620);
x_1621 = lean_ctor_get(x_1616, 4);
lean_inc_ref(x_1621);
x_1622 = lean_ctor_get(x_1616, 6);
lean_inc_ref(x_1622);
x_1623 = lean_ctor_get(x_1616, 7);
lean_inc_ref(x_1623);
x_1624 = lean_ctor_get(x_1616, 8);
lean_inc_ref(x_1624);
if (lean_is_exclusive(x_1616)) {
 lean_ctor_release(x_1616, 0);
 lean_ctor_release(x_1616, 1);
 lean_ctor_release(x_1616, 2);
 lean_ctor_release(x_1616, 3);
 lean_ctor_release(x_1616, 4);
 lean_ctor_release(x_1616, 5);
 lean_ctor_release(x_1616, 6);
 lean_ctor_release(x_1616, 7);
 lean_ctor_release(x_1616, 8);
 x_1625 = x_1616;
} else {
 lean_dec_ref(x_1616);
 x_1625 = lean_box(0);
}
lean_inc(x_1592);
x_1626 = l_Lean_addProtected(x_1617, x_1592);
if (lean_is_scalar(x_1625)) {
 x_1627 = lean_alloc_ctor(0, 9, 0);
} else {
 x_1627 = x_1625;
}
lean_ctor_set(x_1627, 0, x_1626);
lean_ctor_set(x_1627, 1, x_1618);
lean_ctor_set(x_1627, 2, x_1619);
lean_ctor_set(x_1627, 3, x_1620);
lean_ctor_set(x_1627, 4, x_1621);
lean_ctor_set(x_1627, 5, x_1566);
lean_ctor_set(x_1627, 6, x_1622);
lean_ctor_set(x_1627, 7, x_1623);
lean_ctor_set(x_1627, 8, x_1624);
x_1628 = lean_st_ref_set(x_27, x_1627);
x_1629 = lean_st_ref_take(x_25);
x_1630 = lean_ctor_get(x_1629, 0);
lean_inc_ref(x_1630);
x_1631 = lean_ctor_get(x_1629, 2);
lean_inc(x_1631);
x_1632 = lean_ctor_get(x_1629, 3);
lean_inc_ref(x_1632);
x_1633 = lean_ctor_get(x_1629, 4);
lean_inc_ref(x_1633);
if (lean_is_exclusive(x_1629)) {
 lean_ctor_release(x_1629, 0);
 lean_ctor_release(x_1629, 1);
 lean_ctor_release(x_1629, 2);
 lean_ctor_release(x_1629, 3);
 lean_ctor_release(x_1629, 4);
 x_1634 = x_1629;
} else {
 lean_dec_ref(x_1629);
 x_1634 = lean_box(0);
}
if (lean_is_scalar(x_1634)) {
 x_1635 = lean_alloc_ctor(0, 5, 0);
} else {
 x_1635 = x_1634;
}
lean_ctor_set(x_1635, 0, x_1630);
lean_ctor_set(x_1635, 1, x_1575);
lean_ctor_set(x_1635, 2, x_1631);
lean_ctor_set(x_1635, 3, x_1632);
lean_ctor_set(x_1635, 4, x_1633);
x_1636 = lean_st_ref_set(x_25, x_1635);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_1637 = l_Lean_Meta_mkPProdSndM(x_1579, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1637) == 0)
{
lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; 
x_1638 = lean_ctor_get(x_1637, 0);
lean_inc(x_1638);
lean_dec_ref(x_1637);
x_1639 = l_Lean_Expr_const___override(x_1592, x_19);
x_1640 = l_Lean_mkAppN(x_1639, x_1536);
x_1641 = lean_array_get(x_11, x_23, x_12);
lean_dec_ref(x_23);
x_1642 = l_Lean_mkAppN(x_1641, x_1525);
lean_dec_ref(x_1525);
x_1643 = l_Lean_Expr_app___override(x_1642, x_1638);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_1644 = l_Lean_Meta_mkEq(x_1640, x_1643, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1644) == 0)
{
lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; 
x_1645 = lean_ctor_get(x_1644, 0);
lean_inc(x_1645);
lean_dec_ref(x_1644);
x_1646 = lean_box(0);
lean_inc_ref(x_24);
lean_inc(x_1645);
x_1647 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_1645, x_1646, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1647) == 0)
{
lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; 
x_1648 = lean_ctor_get(x_1647, 0);
lean_inc(x_1648);
lean_dec_ref(x_1647);
x_1649 = l_Lean_Expr_mvarId_x21(x_1648);
x_1650 = l_Lean_Expr_fvarId_x21(x_14);
lean_dec_ref(x_14);
x_1651 = lean_mk_empty_array_with_capacity(x_21);
x_1652 = lean_box(0);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_1653 = l_Lean_MVarId_cases(x_1649, x_1650, x_1651, x_1537, x_1652, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1653) == 0)
{
lean_object* x_1654; lean_object* x_1655; size_t x_1656; lean_object* x_1657; 
x_1654 = lean_ctor_get(x_1653, 0);
lean_inc(x_1654);
lean_dec_ref(x_1653);
x_1655 = lean_box(0);
x_1656 = lean_array_size(x_1654);
lean_inc(x_27);
lean_inc_ref(x_26);
lean_inc(x_25);
lean_inc_ref(x_24);
x_1657 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__4(x_1537, x_1655, x_1654, x_1656, x_8, x_1655, x_24, x_25, x_26, x_27);
lean_dec(x_1654);
if (lean_obj_tag(x_1657) == 0)
{
lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; 
lean_dec_ref(x_1657);
x_1658 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___redArg(x_1648, x_25);
x_1659 = lean_ctor_get(x_1658, 0);
lean_inc(x_1659);
lean_dec_ref(x_1658);
x_1660 = l_Lean_Meta_mkForallFVars(x_1536, x_1645, x_1537, x_16, x_16, x_1538, x_24, x_25, x_26, x_27);
if (lean_obj_tag(x_1660) == 0)
{
lean_object* x_1661; lean_object* x_1662; 
x_1661 = lean_ctor_get(x_1660, 0);
lean_inc(x_1661);
lean_dec_ref(x_1660);
x_1662 = l_Lean_Meta_mkLambdaFVars(x_1536, x_1659, x_1537, x_16, x_1537, x_16, x_1538, x_24, x_25, x_26, x_27);
lean_dec_ref(x_24);
lean_dec_ref(x_1536);
if (lean_obj_tag(x_1662) == 0)
{
lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; 
x_1663 = lean_ctor_get(x_1662, 0);
lean_inc(x_1663);
lean_dec_ref(x_1662);
lean_inc(x_22);
if (lean_is_scalar(x_1593)) {
 x_1664 = lean_alloc_ctor(0, 3, 0);
} else {
 x_1664 = x_1593;
}
lean_ctor_set(x_1664, 0, x_22);
lean_ctor_set(x_1664, 1, x_18);
lean_ctor_set(x_1664, 2, x_1661);
x_1665 = lean_box(0);
lean_inc(x_22);
x_1666 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_1666, 0, x_22);
lean_ctor_set(x_1666, 1, x_1665);
if (lean_is_scalar(x_1553)) {
 x_1667 = lean_alloc_ctor(0, 3, 0);
} else {
 x_1667 = x_1553;
}
lean_ctor_set(x_1667, 0, x_1664);
lean_ctor_set(x_1667, 1, x_1663);
lean_ctor_set(x_1667, 2, x_1666);
x_1668 = l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___redArg(x_1667, x_27);
x_1669 = lean_ctor_get(x_1668, 0);
lean_inc(x_1669);
lean_dec_ref(x_1668);
lean_inc(x_27);
x_1670 = l_Lean_addDecl(x_1669, x_1537, x_26, x_27);
if (lean_obj_tag(x_1670) == 0)
{
lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; 
if (lean_is_exclusive(x_1670)) {
 lean_ctor_release(x_1670, 0);
 x_1671 = x_1670;
} else {
 lean_dec_ref(x_1670);
 x_1671 = lean_box(0);
}
x_1672 = lean_st_ref_take(x_27);
x_1673 = lean_ctor_get(x_1672, 0);
lean_inc_ref(x_1673);
x_1674 = lean_ctor_get(x_1672, 1);
lean_inc(x_1674);
x_1675 = lean_ctor_get(x_1672, 2);
lean_inc_ref(x_1675);
x_1676 = lean_ctor_get(x_1672, 3);
lean_inc_ref(x_1676);
x_1677 = lean_ctor_get(x_1672, 4);
lean_inc_ref(x_1677);
x_1678 = lean_ctor_get(x_1672, 6);
lean_inc_ref(x_1678);
x_1679 = lean_ctor_get(x_1672, 7);
lean_inc_ref(x_1679);
x_1680 = lean_ctor_get(x_1672, 8);
lean_inc_ref(x_1680);
if (lean_is_exclusive(x_1672)) {
 lean_ctor_release(x_1672, 0);
 lean_ctor_release(x_1672, 1);
 lean_ctor_release(x_1672, 2);
 lean_ctor_release(x_1672, 3);
 lean_ctor_release(x_1672, 4);
 lean_ctor_release(x_1672, 5);
 lean_ctor_release(x_1672, 6);
 lean_ctor_release(x_1672, 7);
 lean_ctor_release(x_1672, 8);
 x_1681 = x_1672;
} else {
 lean_dec_ref(x_1672);
 x_1681 = lean_box(0);
}
x_1682 = l_Lean_addProtected(x_1673, x_22);
if (lean_is_scalar(x_1681)) {
 x_1683 = lean_alloc_ctor(0, 9, 0);
} else {
 x_1683 = x_1681;
}
lean_ctor_set(x_1683, 0, x_1682);
lean_ctor_set(x_1683, 1, x_1674);
lean_ctor_set(x_1683, 2, x_1675);
lean_ctor_set(x_1683, 3, x_1676);
lean_ctor_set(x_1683, 4, x_1677);
lean_ctor_set(x_1683, 5, x_1566);
lean_ctor_set(x_1683, 6, x_1678);
lean_ctor_set(x_1683, 7, x_1679);
lean_ctor_set(x_1683, 8, x_1680);
x_1684 = lean_st_ref_set(x_27, x_1683);
lean_dec(x_27);
x_1685 = lean_st_ref_take(x_25);
x_1686 = lean_ctor_get(x_1685, 0);
lean_inc_ref(x_1686);
x_1687 = lean_ctor_get(x_1685, 2);
lean_inc(x_1687);
x_1688 = lean_ctor_get(x_1685, 3);
lean_inc_ref(x_1688);
x_1689 = lean_ctor_get(x_1685, 4);
lean_inc_ref(x_1689);
if (lean_is_exclusive(x_1685)) {
 lean_ctor_release(x_1685, 0);
 lean_ctor_release(x_1685, 1);
 lean_ctor_release(x_1685, 2);
 lean_ctor_release(x_1685, 3);
 lean_ctor_release(x_1685, 4);
 x_1690 = x_1685;
} else {
 lean_dec_ref(x_1685);
 x_1690 = lean_box(0);
}
if (lean_is_scalar(x_1690)) {
 x_1691 = lean_alloc_ctor(0, 5, 0);
} else {
 x_1691 = x_1690;
}
lean_ctor_set(x_1691, 0, x_1686);
lean_ctor_set(x_1691, 1, x_1575);
lean_ctor_set(x_1691, 2, x_1687);
lean_ctor_set(x_1691, 3, x_1688);
lean_ctor_set(x_1691, 4, x_1689);
x_1692 = lean_st_ref_set(x_25, x_1691);
lean_dec(x_25);
if (lean_is_scalar(x_1671)) {
 x_1693 = lean_alloc_ctor(0, 1, 0);
} else {
 x_1693 = x_1671;
}
lean_ctor_set(x_1693, 0, x_1655);
return x_1693;
}
else
{
lean_dec(x_27);
lean_dec(x_25);
lean_dec(x_22);
return x_1670;
}
}
else
{
lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; 
lean_dec(x_1661);
lean_dec(x_1593);
lean_dec(x_1553);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec(x_22);
lean_dec(x_18);
x_1694 = lean_ctor_get(x_1662, 0);
lean_inc(x_1694);
if (lean_is_exclusive(x_1662)) {
 lean_ctor_release(x_1662, 0);
 x_1695 = x_1662;
} else {
 lean_dec_ref(x_1662);
 x_1695 = lean_box(0);
}
if (lean_is_scalar(x_1695)) {
 x_1696 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1696 = x_1695;
}
lean_ctor_set(x_1696, 0, x_1694);
return x_1696;
}
}
else
{
lean_object* x_1697; lean_object* x_1698; lean_object* x_1699; 
lean_dec(x_1659);
lean_dec(x_1593);
lean_dec(x_1553);
lean_dec_ref(x_1536);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_1697 = lean_ctor_get(x_1660, 0);
lean_inc(x_1697);
if (lean_is_exclusive(x_1660)) {
 lean_ctor_release(x_1660, 0);
 x_1698 = x_1660;
} else {
 lean_dec_ref(x_1660);
 x_1698 = lean_box(0);
}
if (lean_is_scalar(x_1698)) {
 x_1699 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1699 = x_1698;
}
lean_ctor_set(x_1699, 0, x_1697);
return x_1699;
}
}
else
{
lean_dec(x_1648);
lean_dec(x_1645);
lean_dec(x_1593);
lean_dec(x_1553);
lean_dec_ref(x_1536);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
return x_1657;
}
}
else
{
lean_object* x_1700; lean_object* x_1701; lean_object* x_1702; 
lean_dec(x_1648);
lean_dec(x_1645);
lean_dec(x_1593);
lean_dec(x_1553);
lean_dec_ref(x_1536);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
x_1700 = lean_ctor_get(x_1653, 0);
lean_inc(x_1700);
if (lean_is_exclusive(x_1653)) {
 lean_ctor_release(x_1653, 0);
 x_1701 = x_1653;
} else {
 lean_dec_ref(x_1653);
 x_1701 = lean_box(0);
}
if (lean_is_scalar(x_1701)) {
 x_1702 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1702 = x_1701;
}
lean_ctor_set(x_1702, 0, x_1700);
return x_1702;
}
}
else
{
lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; 
lean_dec(x_1645);
lean_dec(x_1593);
lean_dec(x_1553);
lean_dec_ref(x_1536);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_1703 = lean_ctor_get(x_1647, 0);
lean_inc(x_1703);
if (lean_is_exclusive(x_1647)) {
 lean_ctor_release(x_1647, 0);
 x_1704 = x_1647;
} else {
 lean_dec_ref(x_1647);
 x_1704 = lean_box(0);
}
if (lean_is_scalar(x_1704)) {
 x_1705 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1705 = x_1704;
}
lean_ctor_set(x_1705, 0, x_1703);
return x_1705;
}
}
else
{
lean_object* x_1706; lean_object* x_1707; lean_object* x_1708; 
lean_dec(x_1593);
lean_dec(x_1553);
lean_dec_ref(x_1536);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec(x_22);
lean_dec(x_18);
lean_dec_ref(x_14);
x_1706 = lean_ctor_get(x_1644, 0);
lean_inc(x_1706);
if (lean_is_exclusive(x_1644)) {
 lean_ctor_release(x_1644, 0);
 x_1707 = x_1644;
} else {
 lean_dec_ref(x_1644);
 x_1707 = lean_box(0);
}
if (lean_is_scalar(x_1707)) {
 x_1708 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1708 = x_1707;
}
lean_ctor_set(x_1708, 0, x_1706);
return x_1708;
}
}
else
{
lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; 
lean_dec(x_1593);
lean_dec(x_1592);
lean_dec(x_1553);
lean_dec_ref(x_1536);
lean_dec_ref(x_1525);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1709 = lean_ctor_get(x_1637, 0);
lean_inc(x_1709);
if (lean_is_exclusive(x_1637)) {
 lean_ctor_release(x_1637, 0);
 x_1710 = x_1637;
} else {
 lean_dec_ref(x_1637);
 x_1710 = lean_box(0);
}
if (lean_is_scalar(x_1710)) {
 x_1711 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1711 = x_1710;
}
lean_ctor_set(x_1711, 0, x_1709);
return x_1711;
}
}
else
{
lean_dec(x_1587);
lean_dec_ref(x_1579);
lean_dec(x_1553);
lean_dec_ref(x_1536);
lean_dec_ref(x_1525);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
return x_1590;
}
}
else
{
lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; 
lean_dec(x_1583);
lean_dec_ref(x_1579);
lean_dec(x_1553);
lean_dec_ref(x_1536);
lean_dec_ref(x_1525);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1712 = lean_ctor_get(x_1584, 0);
lean_inc(x_1712);
if (lean_is_exclusive(x_1584)) {
 lean_ctor_release(x_1584, 0);
 x_1713 = x_1584;
} else {
 lean_dec_ref(x_1584);
 x_1713 = lean_box(0);
}
if (lean_is_scalar(x_1713)) {
 x_1714 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1714 = x_1713;
}
lean_ctor_set(x_1714, 0, x_1712);
return x_1714;
}
}
else
{
lean_object* x_1715; lean_object* x_1716; lean_object* x_1717; 
lean_dec_ref(x_1579);
lean_dec(x_1553);
lean_dec_ref(x_1536);
lean_dec_ref(x_1526);
lean_dec_ref(x_1525);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1715 = lean_ctor_get(x_1582, 0);
lean_inc(x_1715);
if (lean_is_exclusive(x_1582)) {
 lean_ctor_release(x_1582, 0);
 x_1716 = x_1582;
} else {
 lean_dec_ref(x_1582);
 x_1716 = lean_box(0);
}
if (lean_is_scalar(x_1716)) {
 x_1717 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1717 = x_1716;
}
lean_ctor_set(x_1717, 0, x_1715);
return x_1717;
}
}
else
{
lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; 
lean_dec_ref(x_1579);
lean_dec(x_1553);
lean_dec_ref(x_1536);
lean_dec_ref(x_1526);
lean_dec_ref(x_1525);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1718 = lean_ctor_get(x_1580, 0);
lean_inc(x_1718);
if (lean_is_exclusive(x_1580)) {
 lean_ctor_release(x_1580, 0);
 x_1719 = x_1580;
} else {
 lean_dec_ref(x_1580);
 x_1719 = lean_box(0);
}
if (lean_is_scalar(x_1719)) {
 x_1720 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1720 = x_1719;
}
lean_ctor_set(x_1720, 0, x_1718);
return x_1720;
}
}
else
{
lean_dec(x_1547);
lean_dec_ref(x_1536);
lean_dec_ref(x_1526);
lean_dec_ref(x_1525);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
return x_1550;
}
}
else
{
lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; 
lean_dec(x_1540);
lean_dec_ref(x_1536);
lean_dec_ref(x_1526);
lean_dec_ref(x_1525);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec_ref(x_14);
lean_dec_ref(x_11);
x_1721 = lean_ctor_get(x_1543, 0);
lean_inc(x_1721);
if (lean_is_exclusive(x_1543)) {
 lean_ctor_release(x_1543, 0);
 x_1722 = x_1543;
} else {
 lean_dec_ref(x_1543);
 x_1722 = lean_box(0);
}
if (lean_is_scalar(x_1722)) {
 x_1723 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1723 = x_1722;
}
lean_ctor_set(x_1723, 0, x_1721);
return x_1723;
}
}
else
{
lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; 
lean_dec_ref(x_1536);
lean_dec_ref(x_1526);
lean_dec_ref(x_1525);
lean_dec(x_1523);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec_ref(x_14);
lean_dec_ref(x_13);
lean_dec_ref(x_11);
x_1724 = lean_ctor_get(x_1539, 0);
lean_inc(x_1724);
if (lean_is_exclusive(x_1539)) {
 lean_ctor_release(x_1539, 0);
 x_1725 = x_1539;
} else {
 lean_dec_ref(x_1539);
 x_1725 = lean_box(0);
}
if (lean_is_scalar(x_1725)) {
 x_1726 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1726 = x_1725;
}
lean_ctor_set(x_1726, 0, x_1724);
return x_1726;
}
}
else
{
lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; 
lean_dec_ref(x_1526);
lean_dec_ref(x_1525);
lean_dec(x_1523);
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec_ref(x_14);
lean_dec_ref(x_13);
lean_dec_ref(x_11);
lean_dec_ref(x_6);
lean_dec_ref(x_4);
x_1727 = lean_ctor_get(x_1529, 0);
lean_inc(x_1727);
if (lean_is_exclusive(x_1529)) {
 lean_ctor_release(x_1529, 0);
 x_1728 = x_1529;
} else {
 lean_dec_ref(x_1529);
 x_1728 = lean_box(0);
}
if (lean_is_scalar(x_1728)) {
 x_1729 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1729 = x_1728;
}
lean_ctor_set(x_1729, 0, x_1727);
return x_1729;
}
}
else
{
lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; 
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec_ref(x_14);
lean_dec_ref(x_13);
lean_dec_ref(x_11);
lean_dec_ref(x_10);
lean_dec_ref(x_6);
lean_dec_ref(x_4);
x_1730 = lean_ctor_get(x_1522, 0);
lean_inc(x_1730);
if (lean_is_exclusive(x_1522)) {
 lean_ctor_release(x_1522, 0);
 x_1731 = x_1522;
} else {
 lean_dec_ref(x_1522);
 x_1731 = lean_box(0);
}
if (lean_is_scalar(x_1731)) {
 x_1732 = lean_alloc_ctor(1, 1, 0);
} else {
 x_1732 = x_1731;
}
lean_ctor_set(x_1732, 0, x_1730);
return x_1732;
}
}
}
else
{
uint8_t x_1733; 
lean_dec(x_27);
lean_dec_ref(x_26);
lean_dec(x_25);
lean_dec_ref(x_24);
lean_dec_ref(x_23);
lean_dec(x_22);
lean_dec(x_20);
lean_dec(x_19);
lean_dec(x_18);
lean_dec(x_17);
lean_dec_ref(x_14);
lean_dec_ref(x_13);
lean_dec_ref(x_11);
lean_dec_ref(x_10);
lean_dec_ref(x_6);
lean_dec_ref(x_4);
lean_dec(x_1);
x_1733 = !lean_is_exclusive(x_33);
if (x_1733 == 0)
{
return x_33;
}
else
{
lean_object* x_1734; lean_object* x_1735; 
x_1734 = lean_ctor_get(x_33, 0);
lean_inc(x_1734);
lean_dec(x_33);
x_1735 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_1735, 0, x_1734);
return x_1735;
}
}
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_private.Lean.Meta.Constructions.BRecOn.0.Lean.mkBRecOnFromRec", 62, 62);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__2;
x_2 = lean_unsigned_to_nat(4u);
x_3 = lean_unsigned_to_nat(203u);
x_4 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__0;
x_5 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__0;
x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1);
return x_6;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_mk_empty_array_with_capacity(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__3() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_2, 0, x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__4() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("result type of ", 15, 15);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__5() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__4;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__6() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked(" is not one of ", 15, 15);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__7() {
_start:
{
lean_object* x_1; lean_object* x_2; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__6;
x_2 = l_Lean_stringToMessageData(x_1);
return x_2;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___boxed__const__1() {
_start:
{
size_t x_1; lean_object* x_2; 
x_1 = 0;
x_2 = lean_box_usize(x_1);
return x_2;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec_ref(x_3);
return x_8;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__1___boxed(lean_object** _args) {
lean_object* x_1 = _args[0];
lean_object* x_2 = _args[1];
lean_object* x_3 = _args[2];
lean_object* x_4 = _args[3];
lean_object* x_5 = _args[4];
lean_object* x_6 = _args[5];
lean_object* x_7 = _args[6];
lean_object* x_8 = _args[7];
lean_object* x_9 = _args[8];
lean_object* x_10 = _args[9];
lean_object* x_11 = _args[10];
lean_object* x_12 = _args[11];
lean_object* x_13 = _args[12];
lean_object* x_14 = _args[13];
lean_object* x_15 = _args[14];
lean_object* x_16 = _args[15];
lean_object* x_17 = _args[16];
lean_object* x_18 = _args[17];
lean_object* x_19 = _args[18];
lean_object* x_20 = _args[19];
lean_object* x_21 = _args[20];
lean_object* x_22 = _args[21];
lean_object* x_23 = _args[22];
lean_object* x_24 = _args[23];
lean_object* x_25 = _args[24];
lean_object* x_26 = _args[25];
lean_object* x_27 = _args[26];
lean_object* x_28 = _args[27];
_start:
{
size_t x_29; size_t x_30; uint8_t x_31; lean_object* x_32; 
x_29 = lean_unbox_usize(x_7);
lean_dec(x_7);
x_30 = lean_unbox_usize(x_8);
lean_dec(x_8);
x_31 = lean_unbox(x_16);
x_32 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_29, x_30, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_31, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_26, x_27);
lean_dec(x_21);
lean_dec(x_15);
lean_dec(x_12);
lean_dec_ref(x_9);
return x_32;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) {
_start:
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; 
x_21 = lean_nat_add(x_1, x_2);
x_22 = lean_nat_add(x_21, x_3);
x_23 = lean_array_get_size(x_14);
x_24 = lean_nat_dec_lt(x_22, x_23);
if (x_24 == 0)
{
lean_object* x_25; lean_object* x_26; 
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec_ref(x_14);
lean_dec_ref(x_13);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec(x_1);
x_25 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__1;
x_26 = l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__0(x_25, x_16, x_17, x_18, x_19);
return x_26;
}
else
{
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; 
lean_inc(x_21);
lean_inc(x_1);
lean_inc_ref(x_14);
x_27 = l_Array_toSubarray___redArg(x_14, x_1, x_21);
x_28 = l_Array_ofSubarray___redArg(x_27);
x_29 = l_Lean_Expr_getAppFn(x_15);
x_30 = l_Array_idxOf_x3f___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__0(x_28, x_29);
lean_dec_ref(x_29);
if (lean_obj_tag(x_30) == 1)
{
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 
lean_dec_ref(x_13);
x_31 = lean_ctor_get(x_30, 0);
lean_inc(x_31);
lean_dec_ref(x_30);
x_32 = l_Lean_instInhabitedExpr;
x_33 = lean_unsigned_to_nat(1u);
x_34 = lean_nat_sub(x_23, x_33);
lean_dec(x_23);
x_35 = lean_array_get(x_32, x_14, x_34);
lean_inc(x_19);
lean_inc_ref(x_18);
lean_inc(x_17);
lean_inc_ref(x_16);
lean_inc(x_35);
x_36 = lean_infer_type(x_35, x_16, x_17, x_18, x_19);
if (lean_obj_tag(x_36) == 0)
{
lean_object* x_37; lean_object* x_38; 
x_37 = lean_ctor_get(x_36, 0);
lean_inc(x_37);
lean_dec_ref(x_36);
lean_inc(x_19);
lean_inc_ref(x_18);
lean_inc(x_17);
lean_inc_ref(x_16);
x_38 = lean_infer_type(x_37, x_16, x_17, x_18, x_19);
if (lean_obj_tag(x_38) == 0)
{
lean_object* x_39; lean_object* x_40; 
x_39 = lean_ctor_get(x_38, 0);
lean_inc(x_39);
lean_dec_ref(x_38);
lean_inc(x_19);
lean_inc_ref(x_18);
lean_inc(x_17);
lean_inc_ref(x_16);
x_40 = l_Lean_Meta_typeFormerTypeLevel(x_39, x_16, x_17, x_18, x_19);
if (lean_obj_tag(x_40) == 0)
{
lean_object* x_41; 
x_41 = lean_ctor_get(x_40, 0);
lean_inc(x_41);
lean_dec_ref(x_40);
if (lean_obj_tag(x_41) == 1)
{
lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; size_t x_56; size_t x_57; lean_object* x_58; 
x_42 = lean_ctor_get(x_41, 0);
lean_inc(x_42);
lean_dec_ref(x_41);
x_43 = lean_unsigned_to_nat(0u);
lean_inc_ref(x_14);
x_44 = l_Array_toSubarray___redArg(x_14, x_43, x_1);
x_45 = l_Array_ofSubarray___redArg(x_44);
lean_inc_ref(x_28);
lean_inc_ref(x_45);
lean_inc(x_4);
x_46 = lean_alloc_closure((void*)(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__0___boxed), 7, 6);
lean_closure_set(x_46, 0, x_4);
lean_closure_set(x_46, 1, x_45);
lean_closure_set(x_46, 2, x_28);
lean_closure_set(x_46, 3, x_5);
lean_closure_set(x_46, 4, x_43);
lean_closure_set(x_46, 5, x_33);
x_47 = lean_array_get_size(x_28);
lean_inc(x_47);
x_48 = l_Array_ofFn___redArg(x_47, x_46);
x_49 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__2;
x_50 = lean_array_get_size(x_48);
lean_inc_ref(x_48);
x_51 = l_Array_toSubarray___redArg(x_48, x_43, x_50);
x_52 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__3;
x_53 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_53, 0, x_52);
lean_ctor_set(x_53, 1, x_47);
x_54 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_54, 0, x_53);
lean_ctor_set(x_54, 1, x_49);
lean_inc_ref(x_51);
x_55 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_55, 0, x_51);
lean_ctor_set(x_55, 1, x_54);
x_56 = lean_array_size(x_28);
x_57 = 0;
lean_inc(x_19);
lean_inc_ref(x_18);
lean_inc(x_17);
lean_inc_ref(x_16);
x_58 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1(x_33, x_28, x_56, x_57, x_55, x_16, x_17, x_18, x_19);
if (lean_obj_tag(x_58) == 0)
{
lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; 
x_59 = lean_ctor_get(x_58, 0);
lean_inc(x_59);
lean_dec_ref(x_58);
x_60 = lean_ctor_get(x_59, 1);
lean_inc(x_60);
lean_dec(x_59);
x_61 = lean_ctor_get(x_60, 1);
lean_inc(x_61);
lean_dec(x_60);
lean_inc(x_22);
lean_inc_ref(x_14);
x_62 = l_Array_toSubarray___redArg(x_14, x_21, x_22);
x_63 = l_Array_ofSubarray___redArg(x_62);
x_64 = l_Array_toSubarray___redArg(x_14, x_22, x_34);
x_65 = l_Array_ofSubarray___redArg(x_64);
x_66 = l_Lean_mkLevelMax(x_42, x_6);
x_67 = lean_box_usize(x_56);
x_68 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___boxed__const__1;
x_69 = lean_box(x_24);
x_70 = lean_alloc_closure((void*)(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__1___boxed), 28, 22);
lean_closure_set(x_70, 0, x_66);
lean_closure_set(x_70, 1, x_7);
lean_closure_set(x_70, 2, x_8);
lean_closure_set(x_70, 3, x_45);
lean_closure_set(x_70, 4, x_51);
lean_closure_set(x_70, 5, x_28);
lean_closure_set(x_70, 6, x_67);
lean_closure_set(x_70, 7, x_68);
lean_closure_set(x_70, 8, x_63);
lean_closure_set(x_70, 9, x_48);
lean_closure_set(x_70, 10, x_32);
lean_closure_set(x_70, 11, x_31);
lean_closure_set(x_70, 12, x_65);
lean_closure_set(x_70, 13, x_35);
lean_closure_set(x_70, 14, x_33);
lean_closure_set(x_70, 15, x_69);
lean_closure_set(x_70, 16, x_9);
lean_closure_set(x_70, 17, x_10);
lean_closure_set(x_70, 18, x_4);
lean_closure_set(x_70, 19, x_11);
lean_closure_set(x_70, 20, x_43);
lean_closure_set(x_70, 21, x_12);
x_71 = lean_box(0);
x_72 = 0;
x_73 = l_Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7___redArg(x_71, x_61, x_70, x_72, x_16, x_17, x_18, x_19);
return x_73;
}
else
{
uint8_t x_74; 
lean_dec_ref(x_51);
lean_dec_ref(x_48);
lean_dec_ref(x_45);
lean_dec(x_42);
lean_dec(x_35);
lean_dec(x_34);
lean_dec(x_31);
lean_dec_ref(x_28);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_19);
lean_dec_ref(x_18);
lean_dec(x_17);
lean_dec_ref(x_16);
lean_dec_ref(x_14);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec(x_4);
x_74 = !lean_is_exclusive(x_58);
if (x_74 == 0)
{
return x_58;
}
else
{
lean_object* x_75; lean_object* x_76; 
x_75 = lean_ctor_get(x_58, 0);
lean_inc(x_75);
lean_dec(x_58);
x_76 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_76, 0, x_75);
return x_76;
}
}
}
else
{
lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; 
lean_dec(x_41);
lean_dec(x_34);
lean_dec(x_31);
lean_dec_ref(x_28);
lean_dec(x_22);
lean_dec(x_21);
lean_dec_ref(x_14);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec(x_1);
x_77 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__5;
x_78 = l_Lean_MessageData_ofExpr(x_35);
x_79 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_79, 0, x_77);
lean_ctor_set(x_79, 1, x_78);
x_80 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__7;
x_81 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_81, 0, x_79);
lean_ctor_set(x_81, 1, x_80);
x_82 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(x_81, x_16, x_17, x_18, x_19);
lean_dec(x_19);
lean_dec_ref(x_18);
lean_dec(x_17);
lean_dec_ref(x_16);
return x_82;
}
}
else
{
uint8_t x_83; 
lean_dec(x_35);
lean_dec(x_34);
lean_dec(x_31);
lean_dec_ref(x_28);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_19);
lean_dec_ref(x_18);
lean_dec(x_17);
lean_dec_ref(x_16);
lean_dec_ref(x_14);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec(x_1);
x_83 = !lean_is_exclusive(x_40);
if (x_83 == 0)
{
return x_40;
}
else
{
lean_object* x_84; lean_object* x_85; 
x_84 = lean_ctor_get(x_40, 0);
lean_inc(x_84);
lean_dec(x_40);
x_85 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_85, 0, x_84);
return x_85;
}
}
}
else
{
uint8_t x_86; 
lean_dec(x_35);
lean_dec(x_34);
lean_dec(x_31);
lean_dec_ref(x_28);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_19);
lean_dec_ref(x_18);
lean_dec(x_17);
lean_dec_ref(x_16);
lean_dec_ref(x_14);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec(x_1);
x_86 = !lean_is_exclusive(x_38);
if (x_86 == 0)
{
return x_38;
}
else
{
lean_object* x_87; lean_object* x_88; 
x_87 = lean_ctor_get(x_38, 0);
lean_inc(x_87);
lean_dec(x_38);
x_88 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_88, 0, x_87);
return x_88;
}
}
}
else
{
uint8_t x_89; 
lean_dec(x_35);
lean_dec(x_34);
lean_dec(x_31);
lean_dec_ref(x_28);
lean_dec(x_22);
lean_dec(x_21);
lean_dec(x_19);
lean_dec_ref(x_18);
lean_dec(x_17);
lean_dec_ref(x_16);
lean_dec_ref(x_14);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec(x_1);
x_89 = !lean_is_exclusive(x_36);
if (x_89 == 0)
{
return x_36;
}
else
{
lean_object* x_90; lean_object* x_91; 
x_90 = lean_ctor_get(x_36, 0);
lean_inc(x_90);
lean_dec(x_36);
x_91 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_91, 0, x_90);
return x_91;
}
}
}
else
{
lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; 
lean_dec(x_30);
lean_dec(x_23);
lean_dec(x_22);
lean_dec(x_21);
lean_dec_ref(x_14);
lean_dec(x_12);
lean_dec(x_11);
lean_dec(x_10);
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec(x_1);
x_92 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__5;
x_93 = l_Lean_MessageData_ofExpr(x_13);
x_94 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_94, 0, x_92);
lean_ctor_set(x_94, 1, x_93);
x_95 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__7;
x_96 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_96, 0, x_94);
lean_ctor_set(x_96, 1, x_95);
x_97 = lean_array_to_list(x_28);
x_98 = lean_box(0);
x_99 = l_List_mapTR_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__3(x_97, x_98);
x_100 = l_Lean_MessageData_ofList(x_99);
x_101 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_101, 0, x_96);
lean_ctor_set(x_101, 1, x_100);
x_102 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(x_101, x_16, x_17, x_18, x_19);
lean_dec(x_19);
lean_dec_ref(x_18);
lean_dec(x_17);
lean_dec_ref(x_16);
return x_102;
}
}
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("go", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___closed__1() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("eq", 2, 2);
return x_1;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___boxed(lean_object** _args) {
lean_object* x_1 = _args[0];
lean_object* x_2 = _args[1];
lean_object* x_3 = _args[2];
lean_object* x_4 = _args[3];
lean_object* x_5 = _args[4];
lean_object* x_6 = _args[5];
lean_object* x_7 = _args[6];
lean_object* x_8 = _args[7];
lean_object* x_9 = _args[8];
lean_object* x_10 = _args[9];
lean_object* x_11 = _args[10];
lean_object* x_12 = _args[11];
lean_object* x_13 = _args[12];
lean_object* x_14 = _args[13];
lean_object* x_15 = _args[14];
lean_object* x_16 = _args[15];
lean_object* x_17 = _args[16];
lean_object* x_18 = _args[17];
lean_object* x_19 = _args[18];
lean_object* x_20 = _args[19];
_start:
{
lean_object* x_21; 
x_21 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19);
lean_dec_ref(x_15);
lean_dec(x_3);
lean_dec(x_2);
return x_21;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
_start:
{
lean_object* x_10; 
lean_inc_ref(x_7);
lean_inc(x_1);
x_10 = l_Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0(x_1, x_5, x_6, x_7, x_8);
if (lean_obj_tag(x_10) == 0)
{
uint8_t x_11; 
x_11 = !lean_is_exclusive(x_10);
if (x_11 == 0)
{
lean_object* x_12; 
x_12 = lean_ctor_get(x_10, 0);
if (lean_obj_tag(x_12) == 7)
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; 
lean_free_object(x_10);
x_13 = lean_ctor_get(x_12, 0);
lean_inc_ref(x_13);
lean_dec_ref(x_12);
x_14 = lean_ctor_get(x_13, 0);
lean_inc_ref(x_14);
x_15 = lean_ctor_get(x_13, 4);
lean_inc(x_15);
x_16 = lean_ctor_get(x_13, 5);
lean_inc(x_16);
lean_dec_ref(x_13);
x_17 = lean_ctor_get(x_14, 1);
lean_inc(x_17);
x_18 = lean_ctor_get(x_14, 2);
lean_inc_ref(x_18);
lean_dec_ref(x_14);
x_19 = lean_box(0);
lean_inc(x_17);
x_20 = l_List_mapTR_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__9(x_17, x_19);
if (lean_obj_tag(x_20) == 1)
{
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; 
x_21 = lean_ctor_get(x_20, 0);
lean_inc(x_21);
x_22 = lean_ctor_get(x_20, 1);
lean_inc(x_22);
x_23 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___closed__0;
lean_inc(x_4);
x_24 = l_Lean_Name_str___override(x_4, x_23);
x_25 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___closed__1;
lean_inc(x_4);
x_26 = l_Lean_Name_str___override(x_4, x_25);
lean_inc_ref(x_18);
x_27 = lean_alloc_closure((void*)(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___boxed), 20, 13);
lean_closure_set(x_27, 0, x_2);
lean_closure_set(x_27, 1, x_15);
lean_closure_set(x_27, 2, x_16);
lean_closure_set(x_27, 3, x_20);
lean_closure_set(x_27, 4, x_3);
lean_closure_set(x_27, 5, x_21);
lean_closure_set(x_27, 6, x_22);
lean_closure_set(x_27, 7, x_1);
lean_closure_set(x_27, 8, x_24);
lean_closure_set(x_27, 9, x_17);
lean_closure_set(x_27, 10, x_4);
lean_closure_set(x_27, 11, x_26);
lean_closure_set(x_27, 12, x_18);
x_28 = 0;
x_29 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_18, x_27, x_28, x_5, x_6, x_7, x_8);
return x_29;
}
else
{
lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; 
lean_dec(x_20);
lean_dec_ref(x_18);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
x_30 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__1;
x_31 = l_Lean_MessageData_ofName(x_1);
x_32 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_32, 0, x_30);
lean_ctor_set(x_32, 1, x_31);
x_33 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__3;
x_34 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_34, 0, x_32);
lean_ctor_set(x_34, 1, x_33);
x_35 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(x_34, x_5, x_6, x_7, x_8);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
return x_35;
}
}
else
{
lean_object* x_36; 
lean_dec(x_12);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_36 = lean_box(0);
lean_ctor_set(x_10, 0, x_36);
return x_10;
}
}
else
{
lean_object* x_37; 
x_37 = lean_ctor_get(x_10, 0);
lean_inc(x_37);
lean_dec(x_10);
if (lean_obj_tag(x_37) == 7)
{
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; 
x_38 = lean_ctor_get(x_37, 0);
lean_inc_ref(x_38);
lean_dec_ref(x_37);
x_39 = lean_ctor_get(x_38, 0);
lean_inc_ref(x_39);
x_40 = lean_ctor_get(x_38, 4);
lean_inc(x_40);
x_41 = lean_ctor_get(x_38, 5);
lean_inc(x_41);
lean_dec_ref(x_38);
x_42 = lean_ctor_get(x_39, 1);
lean_inc(x_42);
x_43 = lean_ctor_get(x_39, 2);
lean_inc_ref(x_43);
lean_dec_ref(x_39);
x_44 = lean_box(0);
lean_inc(x_42);
x_45 = l_List_mapTR_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__9(x_42, x_44);
if (lean_obj_tag(x_45) == 1)
{
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_object* x_54; 
x_46 = lean_ctor_get(x_45, 0);
lean_inc(x_46);
x_47 = lean_ctor_get(x_45, 1);
lean_inc(x_47);
x_48 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___closed__0;
lean_inc(x_4);
x_49 = l_Lean_Name_str___override(x_4, x_48);
x_50 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___closed__1;
lean_inc(x_4);
x_51 = l_Lean_Name_str___override(x_4, x_50);
lean_inc_ref(x_43);
x_52 = lean_alloc_closure((void*)(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___boxed), 20, 13);
lean_closure_set(x_52, 0, x_2);
lean_closure_set(x_52, 1, x_40);
lean_closure_set(x_52, 2, x_41);
lean_closure_set(x_52, 3, x_45);
lean_closure_set(x_52, 4, x_3);
lean_closure_set(x_52, 5, x_46);
lean_closure_set(x_52, 6, x_47);
lean_closure_set(x_52, 7, x_1);
lean_closure_set(x_52, 8, x_49);
lean_closure_set(x_52, 9, x_42);
lean_closure_set(x_52, 10, x_4);
lean_closure_set(x_52, 11, x_51);
lean_closure_set(x_52, 12, x_43);
x_53 = 0;
x_54 = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go_spec__2___redArg(x_43, x_52, x_53, x_5, x_6, x_7, x_8);
return x_54;
}
else
{
lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 
lean_dec(x_45);
lean_dec_ref(x_43);
lean_dec(x_42);
lean_dec(x_41);
lean_dec(x_40);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
x_55 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__1;
x_56 = l_Lean_MessageData_ofName(x_1);
x_57 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_57, 0, x_55);
lean_ctor_set(x_57, 1, x_56);
x_58 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__3;
x_59 = lean_alloc_ctor(7, 2, 0);
lean_ctor_set(x_59, 0, x_57);
lean_ctor_set(x_59, 1, x_58);
x_60 = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__2_spec__2___redArg(x_59, x_5, x_6, x_7, x_8);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
return x_60;
}
}
else
{
lean_object* x_61; lean_object* x_62; 
lean_dec(x_37);
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_61 = lean_box(0);
x_62 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_62, 0, x_61);
return x_62;
}
}
}
else
{
uint8_t x_63; 
lean_dec(x_8);
lean_dec_ref(x_7);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_63 = !lean_is_exclusive(x_10);
if (x_63 == 0)
{
return x_10;
}
else
{
lean_object* x_64; lean_object* x_65; 
x_64 = lean_ctor_get(x_10, 0);
lean_inc(x_64);
lean_dec(x_10);
x_65 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_65, 0, x_64);
return x_65;
}
}
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
uint8_t x_11; lean_object* x_12; 
x_11 = lean_unbox(x_5);
x_12 = l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8(x_1, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9);
lean_dec(x_2);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
uint8_t x_11; lean_object* x_12; 
x_11 = lean_unbox(x_5);
x_12 = l_Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7(x_1, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9);
lean_dec(x_2);
return x_12;
}
}
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6(x_1, x_2, x_3, x_4, x_5);
lean_dec(x_5);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec_ref(x_2);
return x_7;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; lean_object* x_13; 
x_12 = lean_unbox(x_4);
x_13 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8(x_1, x_2, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10);
lean_dec(x_5);
return x_13;
}
}
LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__0(x_1, x_2, x_3, x_4, x_5);
return x_7;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
uint8_t x_10; lean_object* x_11; 
x_10 = lean_unbox(x_4);
x_11 = l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8___redArg(x_1, x_2, x_3, x_10, x_5, x_6, x_7, x_8);
lean_dec(x_1);
return x_11;
}
}
LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
uint8_t x_10; lean_object* x_11; 
x_10 = lean_unbox(x_4);
x_11 = l_Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7___redArg(x_1, x_2, x_3, x_10, x_5, x_6, x_7, x_8);
lean_dec(x_1);
return x_11;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
size_t x_4; size_t x_5; lean_object* x_6; 
x_4 = lean_unbox_usize(x_1);
lean_dec(x_1);
x_5 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__7(x_4, x_5, x_3);
return x_6;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
uint8_t x_12; size_t x_13; size_t x_14; lean_object* x_15; 
x_12 = lean_unbox(x_1);
x_13 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_14 = lean_unbox_usize(x_5);
lean_dec(x_5);
x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__4(x_12, x_2, x_3, x_13, x_14, x_6, x_7, x_8, x_9, x_10);
lean_dec_ref(x_3);
return x_15;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) {
_start:
{
size_t x_14; size_t x_15; lean_object* x_16; 
x_14 = lean_unbox_usize(x_6);
lean_dec(x_6);
x_15 = lean_unbox_usize(x_7);
lean_dec(x_7);
x_16 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__3(x_1, x_2, x_3, x_4, x_5, x_14, x_15, x_8, x_9, x_10, x_11, x_12);
lean_dec_ref(x_5);
return x_16;
}
}
LEAN_EXPORT lean_object* l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_instantiateMVars___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__5___redArg(x_1, x_2);
lean_dec(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
_start:
{
lean_object* x_4; 
x_4 = l_Lean_mkThmOrUnsafeDef___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__6___redArg(x_1, x_2);
lean_dec(x_2);
return x_4;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
size_t x_10; size_t x_11; lean_object* x_12; 
x_10 = lean_unbox_usize(x_2);
lean_dec(x_2);
x_11 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_12 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__2(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8);
lean_dec_ref(x_1);
return x_12;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
uint8_t x_10; lean_object* x_11; 
x_10 = lean_unbox(x_3);
x_11 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg(x_1, x_2, x_10, x_4, x_5, x_6, x_7, x_8);
return x_11;
}
}
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
_start:
{
size_t x_11; size_t x_12; lean_object* x_13; 
x_11 = lean_unbox_usize(x_3);
lean_dec(x_3);
x_12 = lean_unbox_usize(x_4);
lean_dec(x_4);
x_13 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1(x_1, x_2, x_11, x_12, x_5, x_6, x_7, x_8, x_9);
lean_dec_ref(x_2);
lean_dec(x_1);
return x_13;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
_start:
{
lean_object* x_10; 
x_10 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
return x_10;
}
}
LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBRecOn_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
_start:
{
lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; 
x_13 = lean_unsigned_to_nat(1u);
x_14 = lean_nat_add(x_7, x_13);
lean_dec(x_7);
lean_inc(x_14);
lean_inc(x_1);
x_15 = lean_name_append_index_after(x_1, x_14);
lean_inc(x_14);
lean_inc(x_2);
x_16 = lean_name_append_index_after(x_2, x_14);
lean_inc(x_11);
lean_inc_ref(x_10);
lean_inc(x_9);
lean_inc_ref(x_8);
lean_inc_ref(x_4);
lean_inc(x_3);
x_17 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec(x_15, x_3, x_4, x_16, x_8, x_9, x_10, x_11);
if (lean_obj_tag(x_17) == 0)
{
uint8_t x_18; 
x_18 = !lean_is_exclusive(x_17);
if (x_18 == 0)
{
lean_object* x_19; uint8_t x_20; 
x_19 = lean_ctor_get(x_17, 0);
lean_dec(x_19);
x_20 = lean_nat_dec_lt(x_14, x_6);
if (x_20 == 0)
{
lean_dec(x_14);
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
lean_ctor_set(x_17, 0, x_5);
return x_17;
}
else
{
lean_free_object(x_17);
x_7 = x_14;
goto _start;
}
}
else
{
uint8_t x_22; 
lean_dec(x_17);
x_22 = lean_nat_dec_lt(x_14, x_6);
if (x_22 == 0)
{
lean_object* x_23; 
lean_dec(x_14);
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_23 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_23, 0, x_5);
return x_23;
}
else
{
x_7 = x_14;
goto _start;
}
}
}
else
{
lean_dec(x_14);
lean_dec(x_11);
lean_dec_ref(x_10);
lean_dec(x_9);
lean_dec_ref(x_8);
lean_dec_ref(x_4);
lean_dec(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_17;
}
}
}
LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBRecOn_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) {
_start:
{
lean_object* x_20; 
x_20 = l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBRecOn_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_9, x_12, x_15, x_16, x_17, x_18);
return x_20;
}
}
LEAN_EXPORT lean_object* l_Lean_mkBRecOn___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_8; 
lean_inc_ref(x_5);
lean_inc(x_1);
x_8 = l_Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0(x_1, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_8) == 0)
{
uint8_t x_9; 
x_9 = !lean_is_exclusive(x_8);
if (x_9 == 0)
{
lean_object* x_10; 
x_10 = lean_ctor_get(x_8, 0);
if (lean_obj_tag(x_10) == 5)
{
lean_object* x_11; uint8_t x_12; 
x_11 = lean_ctor_get(x_10, 0);
lean_inc_ref(x_11);
lean_dec_ref(x_10);
x_12 = lean_ctor_get_uint8(x_11, sizeof(void*)*6);
if (x_12 == 0)
{
lean_object* x_13; 
lean_dec_ref(x_11);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_13 = lean_box(0);
lean_ctor_set(x_8, 0, x_13);
return x_8;
}
else
{
lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; 
lean_free_object(x_8);
x_14 = lean_ctor_get(x_11, 0);
lean_inc_ref(x_14);
x_15 = lean_ctor_get(x_11, 1);
lean_inc(x_15);
x_16 = lean_ctor_get(x_11, 3);
lean_inc(x_16);
x_17 = lean_ctor_get(x_11, 5);
lean_inc(x_17);
lean_dec_ref(x_11);
x_18 = lean_ctor_get(x_14, 2);
lean_inc_ref(x_18);
lean_dec_ref(x_14);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_19 = l_Lean_Meta_isPropFormerType(x_18, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_19) == 0)
{
uint8_t x_20; 
x_20 = !lean_is_exclusive(x_19);
if (x_20 == 0)
{
lean_object* x_21; uint8_t x_22; 
x_21 = lean_ctor_get(x_19, 0);
x_22 = lean_unbox(x_21);
lean_dec(x_21);
if (x_22 == 0)
{
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 
lean_free_object(x_19);
lean_inc(x_1);
x_23 = l_Lean_mkRecName(x_1);
lean_inc(x_1);
x_24 = l_Lean_mkBRecOnName(x_1);
lean_inc(x_16);
x_25 = lean_array_mk(x_16);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_24);
lean_inc_ref(x_25);
lean_inc(x_15);
lean_inc(x_23);
x_26 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec(x_23, x_15, x_25, x_24, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_26) == 0)
{
uint8_t x_27; 
x_27 = !lean_is_exclusive(x_26);
if (x_27 == 0)
{
lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; 
x_28 = lean_ctor_get(x_26, 0);
lean_dec(x_28);
x_29 = lean_unsigned_to_nat(0u);
x_30 = l_List_get_x21Internal___redArg(x_2, x_16, x_29);
lean_dec(x_16);
x_31 = lean_name_eq(x_30, x_1);
lean_dec(x_1);
lean_dec(x_30);
if (x_31 == 0)
{
lean_object* x_32; 
lean_dec_ref(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_17);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_32 = lean_box(0);
lean_ctor_set(x_26, 0, x_32);
return x_26;
}
else
{
lean_object* x_33; uint8_t x_34; 
x_33 = lean_box(0);
x_34 = lean_nat_dec_lt(x_29, x_17);
if (x_34 == 0)
{
lean_dec_ref(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_17);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_ctor_set(x_26, 0, x_33);
return x_26;
}
else
{
lean_object* x_35; 
lean_free_object(x_26);
x_35 = l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBRecOn_spec__0___redArg(x_23, x_24, x_15, x_25, x_33, x_17, x_29, x_3, x_4, x_5, x_6);
lean_dec(x_17);
if (lean_obj_tag(x_35) == 0)
{
uint8_t x_36; 
x_36 = !lean_is_exclusive(x_35);
if (x_36 == 0)
{
lean_object* x_37; 
x_37 = lean_ctor_get(x_35, 0);
lean_dec(x_37);
lean_ctor_set(x_35, 0, x_33);
return x_35;
}
else
{
lean_object* x_38; 
lean_dec(x_35);
x_38 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_38, 0, x_33);
return x_38;
}
}
else
{
return x_35;
}
}
}
}
else
{
lean_object* x_39; lean_object* x_40; uint8_t x_41; 
lean_dec(x_26);
x_39 = lean_unsigned_to_nat(0u);
x_40 = l_List_get_x21Internal___redArg(x_2, x_16, x_39);
lean_dec(x_16);
x_41 = lean_name_eq(x_40, x_1);
lean_dec(x_1);
lean_dec(x_40);
if (x_41 == 0)
{
lean_object* x_42; lean_object* x_43; 
lean_dec_ref(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_17);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_42 = lean_box(0);
x_43 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_43, 0, x_42);
return x_43;
}
else
{
lean_object* x_44; uint8_t x_45; 
x_44 = lean_box(0);
x_45 = lean_nat_dec_lt(x_39, x_17);
if (x_45 == 0)
{
lean_object* x_46; 
lean_dec_ref(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_17);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_46 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_46, 0, x_44);
return x_46;
}
else
{
lean_object* x_47; 
x_47 = l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBRecOn_spec__0___redArg(x_23, x_24, x_15, x_25, x_44, x_17, x_39, x_3, x_4, x_5, x_6);
lean_dec(x_17);
if (lean_obj_tag(x_47) == 0)
{
lean_object* x_48; lean_object* x_49; 
if (lean_is_exclusive(x_47)) {
 lean_ctor_release(x_47, 0);
 x_48 = x_47;
} else {
 lean_dec_ref(x_47);
 x_48 = lean_box(0);
}
if (lean_is_scalar(x_48)) {
 x_49 = lean_alloc_ctor(0, 1, 0);
} else {
 x_49 = x_48;
}
lean_ctor_set(x_49, 0, x_44);
return x_49;
}
else
{
return x_47;
}
}
}
}
}
else
{
lean_dec_ref(x_25);
lean_dec(x_24);
lean_dec(x_23);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_26;
}
}
else
{
lean_object* x_50; 
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_50 = lean_box(0);
lean_ctor_set(x_19, 0, x_50);
return x_19;
}
}
else
{
lean_object* x_51; uint8_t x_52; 
x_51 = lean_ctor_get(x_19, 0);
lean_inc(x_51);
lean_dec(x_19);
x_52 = lean_unbox(x_51);
lean_dec(x_51);
if (x_52 == 0)
{
lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; 
lean_inc(x_1);
x_53 = l_Lean_mkRecName(x_1);
lean_inc(x_1);
x_54 = l_Lean_mkBRecOnName(x_1);
lean_inc(x_16);
x_55 = lean_array_mk(x_16);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_54);
lean_inc_ref(x_55);
lean_inc(x_15);
lean_inc(x_53);
x_56 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec(x_53, x_15, x_55, x_54, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_56) == 0)
{
lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; 
if (lean_is_exclusive(x_56)) {
 lean_ctor_release(x_56, 0);
 x_57 = x_56;
} else {
 lean_dec_ref(x_56);
 x_57 = lean_box(0);
}
x_58 = lean_unsigned_to_nat(0u);
x_59 = l_List_get_x21Internal___redArg(x_2, x_16, x_58);
lean_dec(x_16);
x_60 = lean_name_eq(x_59, x_1);
lean_dec(x_1);
lean_dec(x_59);
if (x_60 == 0)
{
lean_object* x_61; lean_object* x_62; 
lean_dec_ref(x_55);
lean_dec(x_54);
lean_dec(x_53);
lean_dec(x_17);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_61 = lean_box(0);
if (lean_is_scalar(x_57)) {
 x_62 = lean_alloc_ctor(0, 1, 0);
} else {
 x_62 = x_57;
}
lean_ctor_set(x_62, 0, x_61);
return x_62;
}
else
{
lean_object* x_63; uint8_t x_64; 
x_63 = lean_box(0);
x_64 = lean_nat_dec_lt(x_58, x_17);
if (x_64 == 0)
{
lean_object* x_65; 
lean_dec_ref(x_55);
lean_dec(x_54);
lean_dec(x_53);
lean_dec(x_17);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
if (lean_is_scalar(x_57)) {
 x_65 = lean_alloc_ctor(0, 1, 0);
} else {
 x_65 = x_57;
}
lean_ctor_set(x_65, 0, x_63);
return x_65;
}
else
{
lean_object* x_66; 
lean_dec(x_57);
x_66 = l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBRecOn_spec__0___redArg(x_53, x_54, x_15, x_55, x_63, x_17, x_58, x_3, x_4, x_5, x_6);
lean_dec(x_17);
if (lean_obj_tag(x_66) == 0)
{
lean_object* x_67; lean_object* x_68; 
if (lean_is_exclusive(x_66)) {
 lean_ctor_release(x_66, 0);
 x_67 = x_66;
} else {
 lean_dec_ref(x_66);
 x_67 = lean_box(0);
}
if (lean_is_scalar(x_67)) {
 x_68 = lean_alloc_ctor(0, 1, 0);
} else {
 x_68 = x_67;
}
lean_ctor_set(x_68, 0, x_63);
return x_68;
}
else
{
return x_66;
}
}
}
}
else
{
lean_dec_ref(x_55);
lean_dec(x_54);
lean_dec(x_53);
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_56;
}
}
else
{
lean_object* x_69; lean_object* x_70; 
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_69 = lean_box(0);
x_70 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_70, 0, x_69);
return x_70;
}
}
}
else
{
uint8_t x_71; 
lean_dec(x_17);
lean_dec(x_16);
lean_dec(x_15);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_71 = !lean_is_exclusive(x_19);
if (x_71 == 0)
{
return x_19;
}
else
{
lean_object* x_72; lean_object* x_73; 
x_72 = lean_ctor_get(x_19, 0);
lean_inc(x_72);
lean_dec(x_19);
x_73 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_73, 0, x_72);
return x_73;
}
}
}
}
else
{
lean_object* x_74; 
lean_dec(x_10);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_74 = lean_box(0);
lean_ctor_set(x_8, 0, x_74);
return x_8;
}
}
else
{
lean_object* x_75; 
x_75 = lean_ctor_get(x_8, 0);
lean_inc(x_75);
lean_dec(x_8);
if (lean_obj_tag(x_75) == 5)
{
lean_object* x_76; uint8_t x_77; 
x_76 = lean_ctor_get(x_75, 0);
lean_inc_ref(x_76);
lean_dec_ref(x_75);
x_77 = lean_ctor_get_uint8(x_76, sizeof(void*)*6);
if (x_77 == 0)
{
lean_object* x_78; lean_object* x_79; 
lean_dec_ref(x_76);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_78 = lean_box(0);
x_79 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_79, 0, x_78);
return x_79;
}
else
{
lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; 
x_80 = lean_ctor_get(x_76, 0);
lean_inc_ref(x_80);
x_81 = lean_ctor_get(x_76, 1);
lean_inc(x_81);
x_82 = lean_ctor_get(x_76, 3);
lean_inc(x_82);
x_83 = lean_ctor_get(x_76, 5);
lean_inc(x_83);
lean_dec_ref(x_76);
x_84 = lean_ctor_get(x_80, 2);
lean_inc_ref(x_84);
lean_dec_ref(x_80);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
x_85 = l_Lean_Meta_isPropFormerType(x_84, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_85) == 0)
{
lean_object* x_86; lean_object* x_87; uint8_t x_88; 
x_86 = lean_ctor_get(x_85, 0);
lean_inc(x_86);
if (lean_is_exclusive(x_85)) {
 lean_ctor_release(x_85, 0);
 x_87 = x_85;
} else {
 lean_dec_ref(x_85);
 x_87 = lean_box(0);
}
x_88 = lean_unbox(x_86);
lean_dec(x_86);
if (x_88 == 0)
{
lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; 
lean_dec(x_87);
lean_inc(x_1);
x_89 = l_Lean_mkRecName(x_1);
lean_inc(x_1);
x_90 = l_Lean_mkBRecOnName(x_1);
lean_inc(x_82);
x_91 = lean_array_mk(x_82);
lean_inc(x_6);
lean_inc_ref(x_5);
lean_inc(x_4);
lean_inc_ref(x_3);
lean_inc(x_90);
lean_inc_ref(x_91);
lean_inc(x_81);
lean_inc(x_89);
x_92 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec(x_89, x_81, x_91, x_90, x_3, x_4, x_5, x_6);
if (lean_obj_tag(x_92) == 0)
{
lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; 
if (lean_is_exclusive(x_92)) {
 lean_ctor_release(x_92, 0);
 x_93 = x_92;
} else {
 lean_dec_ref(x_92);
 x_93 = lean_box(0);
}
x_94 = lean_unsigned_to_nat(0u);
x_95 = l_List_get_x21Internal___redArg(x_2, x_82, x_94);
lean_dec(x_82);
x_96 = lean_name_eq(x_95, x_1);
lean_dec(x_1);
lean_dec(x_95);
if (x_96 == 0)
{
lean_object* x_97; lean_object* x_98; 
lean_dec_ref(x_91);
lean_dec(x_90);
lean_dec(x_89);
lean_dec(x_83);
lean_dec(x_81);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
x_97 = lean_box(0);
if (lean_is_scalar(x_93)) {
 x_98 = lean_alloc_ctor(0, 1, 0);
} else {
 x_98 = x_93;
}
lean_ctor_set(x_98, 0, x_97);
return x_98;
}
else
{
lean_object* x_99; uint8_t x_100; 
x_99 = lean_box(0);
x_100 = lean_nat_dec_lt(x_94, x_83);
if (x_100 == 0)
{
lean_object* x_101; 
lean_dec_ref(x_91);
lean_dec(x_90);
lean_dec(x_89);
lean_dec(x_83);
lean_dec(x_81);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
if (lean_is_scalar(x_93)) {
 x_101 = lean_alloc_ctor(0, 1, 0);
} else {
 x_101 = x_93;
}
lean_ctor_set(x_101, 0, x_99);
return x_101;
}
else
{
lean_object* x_102; 
lean_dec(x_93);
x_102 = l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBRecOn_spec__0___redArg(x_89, x_90, x_81, x_91, x_99, x_83, x_94, x_3, x_4, x_5, x_6);
lean_dec(x_83);
if (lean_obj_tag(x_102) == 0)
{
lean_object* x_103; lean_object* x_104; 
if (lean_is_exclusive(x_102)) {
 lean_ctor_release(x_102, 0);
 x_103 = x_102;
} else {
 lean_dec_ref(x_102);
 x_103 = lean_box(0);
}
if (lean_is_scalar(x_103)) {
 x_104 = lean_alloc_ctor(0, 1, 0);
} else {
 x_104 = x_103;
}
lean_ctor_set(x_104, 0, x_99);
return x_104;
}
else
{
return x_102;
}
}
}
}
else
{
lean_dec_ref(x_91);
lean_dec(x_90);
lean_dec(x_89);
lean_dec(x_83);
lean_dec(x_82);
lean_dec(x_81);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
return x_92;
}
}
else
{
lean_object* x_105; lean_object* x_106; 
lean_dec(x_83);
lean_dec(x_82);
lean_dec(x_81);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_105 = lean_box(0);
if (lean_is_scalar(x_87)) {
 x_106 = lean_alloc_ctor(0, 1, 0);
} else {
 x_106 = x_87;
}
lean_ctor_set(x_106, 0, x_105);
return x_106;
}
}
else
{
lean_object* x_107; lean_object* x_108; lean_object* x_109; 
lean_dec(x_83);
lean_dec(x_82);
lean_dec(x_81);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_107 = lean_ctor_get(x_85, 0);
lean_inc(x_107);
if (lean_is_exclusive(x_85)) {
 lean_ctor_release(x_85, 0);
 x_108 = x_85;
} else {
 lean_dec_ref(x_85);
 x_108 = lean_box(0);
}
if (lean_is_scalar(x_108)) {
 x_109 = lean_alloc_ctor(1, 1, 0);
} else {
 x_109 = x_108;
}
lean_ctor_set(x_109, 0, x_107);
return x_109;
}
}
}
else
{
lean_object* x_110; lean_object* x_111; 
lean_dec(x_75);
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_110 = lean_box(0);
x_111 = lean_alloc_ctor(0, 1, 0);
lean_ctor_set(x_111, 0, x_110);
return x_111;
}
}
}
else
{
uint8_t x_112; 
lean_dec(x_6);
lean_dec_ref(x_5);
lean_dec(x_4);
lean_dec_ref(x_3);
lean_dec(x_2);
lean_dec(x_1);
x_112 = !lean_is_exclusive(x_8);
if (x_112 == 0)
{
return x_8;
}
else
{
lean_object* x_113; lean_object* x_114; 
x_113 = lean_ctor_get(x_8, 0);
lean_inc(x_113);
lean_dec(x_8);
x_114 = lean_alloc_ctor(1, 1, 0);
lean_ctor_set(x_114, 0, x_113);
return x_114;
}
}
}
}
static lean_object* _init_l_Lean_mkBRecOn___closed__0() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("mkBRecOn", 8, 8);
return x_1;
}
}
static lean_object* _init_l_Lean_mkBRecOn___closed__1() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_mkBRecOn___closed__0;
x_2 = l_Lean_mkBelow___closed__0;
x_3 = l_Lean_Name_mkStr2(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l_Lean_mkBRecOn___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) {
_start:
{
lean_object* x_8; 
x_8 = l_Lean_mkBRecOn___lam__1(x_1, x_2, x_3, x_4, x_5, x_6);
return x_8;
}
}
LEAN_EXPORT lean_object* l_Lean_mkBRecOn(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
_start:
{
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; 
lean_inc(x_1);
x_7 = lean_alloc_closure((void*)(l_Lean_mkBelow___lam__0___boxed), 7, 1);
lean_closure_set(x_7, 0, x_1);
x_8 = lean_box(0);
x_9 = lean_alloc_closure((void*)(l_Lean_mkBRecOn___lam__1___boxed), 7, 2);
lean_closure_set(x_9, 0, x_1);
lean_closure_set(x_9, 1, x_8);
x_10 = l_Lean_mkBRecOn___closed__1;
x_11 = 1;
x_12 = l_Lean_mkBelow___closed__3;
x_13 = l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg(x_10, x_7, x_9, x_11, x_12, x_2, x_3, x_4, x_5);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBRecOn_spec__0___boxed(lean_object** _args) {
lean_object* x_1 = _args[0];
lean_object* x_2 = _args[1];
lean_object* x_3 = _args[2];
lean_object* x_4 = _args[3];
lean_object* x_5 = _args[4];
lean_object* x_6 = _args[5];
lean_object* x_7 = _args[6];
lean_object* x_8 = _args[7];
lean_object* x_9 = _args[8];
lean_object* x_10 = _args[9];
lean_object* x_11 = _args[10];
lean_object* x_12 = _args[11];
lean_object* x_13 = _args[12];
lean_object* x_14 = _args[13];
lean_object* x_15 = _args[14];
lean_object* x_16 = _args[15];
lean_object* x_17 = _args[16];
lean_object* x_18 = _args[17];
lean_object* x_19 = _args[18];
_start:
{
lean_object* x_20; 
x_20 = l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBRecOn_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18);
lean_dec(x_10);
lean_dec(x_9);
return x_20;
}
}
LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBRecOn_spec__0___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) {
_start:
{
lean_object* x_13; 
x_13 = l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00Lean_mkBRecOn_spec__0___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11);
lean_dec(x_6);
return x_13;
}
}
LEAN_EXPORT lean_object* l_Lean_mkBRecOn___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) {
_start:
{
lean_object* x_7; 
x_7 = l_Lean_mkBRecOn(x_1, x_2, x_3, x_4, x_5);
return x_7;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__0_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_private", 8, 8);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__1_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__0_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_2 = lean_box(0);
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__2_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Lean", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__3_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__2_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_2 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__1_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__4_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_mkBelow___closed__0;
x_2 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__3_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__5_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("Constructions", 13, 13);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__6_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__5_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_2 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__4_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__7_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("BRecOn", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__8_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__7_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_2 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__6_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__9_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(0u);
x_2 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__8_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_3 = l_Lean_Name_num___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__10_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__2_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_2 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__9_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__11_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("initFn", 6, 6);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__12_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__11_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_2 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__10_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__13_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_@", 2, 2);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__14_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__13_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_2 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__12_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__15_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__2_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_2 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__14_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__16_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l_Lean_mkBelow___closed__0;
x_2 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__15_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__17_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__5_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_2 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__16_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__18_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__7_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_2 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__17_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__19_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(2304625798u);
x_2 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__18_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_3 = l_Lean_Name_num___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__20_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_hygCtx", 7, 7);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__21_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__20_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_2 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__19_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__22_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; 
x_1 = lean_mk_string_unchecked("_hyg", 4, 4);
return x_1;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__23_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__22_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_2 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__21_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_3 = l_Lean_Name_str___override(x_2, x_1);
return x_3;
}
}
static lean_object* _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__24_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3; 
x_1 = lean_unsigned_to_nat(2u);
x_2 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__23_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_3 = l_Lean_Name_num___override(x_2, x_1);
return x_3;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_() {
_start:
{
lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; 
x_2 = l_Lean_mkBRecOn___closed__1;
x_3 = 0;
x_4 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__24_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_;
x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4);
return x_5;
}
}
LEAN_EXPORT lean_object* l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2____boxed(lean_object* x_1) {
_start:
{
lean_object* x_2; 
x_2 = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
return x_2;
}
}
lean_object* initialize_Lean_Meta_Basic(uint8_t builtin);
lean_object* initialize_Lean_Meta_CompletionName(uint8_t builtin);
lean_object* initialize_Lean_Meta_PProdN(uint8_t builtin);
lean_object* initialize_Lean_Meta_Tactic_Cases(uint8_t builtin);
lean_object* initialize_Lean_Meta_Tactic_Refl(uint8_t builtin);
static bool _G_initialized = false;
LEAN_EXPORT lean_object* initialize_Lean_Meta_Constructions_BRecOn(uint8_t builtin) {
lean_object * res;
if (_G_initialized) return lean_io_result_mk_ok(lean_box(0));
_G_initialized = true;
res = initialize_Lean_Meta_Basic(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Meta_CompletionName(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Meta_PProdN(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Meta_Tactic_Cases(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
res = initialize_Lean_Meta_Tactic_Refl(builtin);
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__1___closed__0 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__1___closed__0();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise_go___lam__1___closed__0);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise___lam__0___closed__0 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise___lam__0___closed__0();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBelowMinorPremise___lam__0___closed__0);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__0);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__1 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__1();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__1);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__2 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__2();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__2);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__3 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__3();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__3);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__4 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__4();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__4);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__5 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__5();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__5);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__6 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__6();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__6);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__7 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__7();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__7);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__8 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__8();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__8);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__9 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__9();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__9);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__10 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__10();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__10);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__11 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__11();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__11);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__12 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__12();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__12);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__13 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__13();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__13);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__14 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__14();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__14);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__15 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__15();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__15);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__16 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__16();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__16);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__17 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__17();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__17);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__18 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__18();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__18);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__19 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__19();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__19);
l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__20 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__20();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0_spec__0___redArg___closed__20);
l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__0 = _init_l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__0();
lean_mark_persistent(l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__0);
l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__1 = _init_l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__1();
lean_mark_persistent(l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__1);
l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__2 = _init_l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__2();
lean_mark_persistent(l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__2);
l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3 = _init_l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3();
lean_mark_persistent(l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__14_spec__14___redArg___closed__3);
l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__0();
lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__0);
l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__1 = _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__1();
lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__1);
l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__2 = _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__2();
lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__2);
l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__3 = _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__3();
lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0___redArg___closed__3);
l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0___closed__0 = _init_l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0___closed__0();
lean_mark_persistent(l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__0_spec__0_spec__0_spec__0_spec__0___closed__0);
l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__10___closed__0 = _init_l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__10___closed__0();
lean_mark_persistent(l_panic___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec_spec__10___closed__0);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__0 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__0();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__0);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__1 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__1();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__1);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__2 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__2();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__2);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__3 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__3();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__3);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__4 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__4();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__4);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__5 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__5();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__5);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__6 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__6();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__6);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__7 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__7();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___lam__0___closed__7);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__0 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__0();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__0);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__1 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__1();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__1);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__2 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__2();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__2);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__3 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__3();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__3);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__4 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__4();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__4);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__5 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__5();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBelowFromRec___closed__5);
l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__0 = _init_l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__0();
l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__1 = _init_l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__1();
lean_mark_persistent(l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__1);
l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__2 = _init_l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__2();
lean_mark_persistent(l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__2);
l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__3 = _init_l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__3();
l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__4 = _init_l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__4();
lean_mark_persistent(l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__4);
l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__5 = _init_l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__5();
lean_mark_persistent(l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__5);
l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__6 = _init_l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__6();
l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__0 = _init_l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__0();
lean_mark_persistent(l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__0);
l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__1 = _init_l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__1();
lean_mark_persistent(l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__1);
l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__2 = _init_l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__2();
lean_mark_persistent(l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_withTraceNode___at___00Lean_mkBelow_spec__1_spec__2___redArg___closed__2);
l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__7 = _init_l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__7();
lean_mark_persistent(l_Lean_withTraceNode___at___00Lean_mkBelow_spec__1___redArg___closed__7);
l_Lean_mkBelow___closed__0 = _init_l_Lean_mkBelow___closed__0();
lean_mark_persistent(l_Lean_mkBelow___closed__0);
l_Lean_mkBelow___closed__1 = _init_l_Lean_mkBelow___closed__1();
lean_mark_persistent(l_Lean_mkBelow___closed__1);
l_Lean_mkBelow___closed__2 = _init_l_Lean_mkBelow___closed__2();
lean_mark_persistent(l_Lean_mkBelow___closed__2);
l_Lean_mkBelow___closed__3 = _init_l_Lean_mkBelow___closed__3();
lean_mark_persistent(l_Lean_mkBelow___closed__3);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go___lam__0___closed__0 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go___lam__0___closed__0();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go___lam__0___closed__0);
l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__0 = _init_l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__0();
lean_mark_persistent(l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__0);
l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__1 = _init_l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__1();
lean_mark_persistent(l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__1);
l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__2 = _init_l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__2();
lean_mark_persistent(l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__2);
l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__3 = _init_l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__3();
lean_mark_persistent(l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_buildBRecOnMinorPremise_go_spec__4___closed__3);
l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__0 = _init_l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__0();
lean_mark_persistent(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__0);
l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__1 = _init_l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__1();
lean_mark_persistent(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__1);
l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__2 = _init_l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__2();
lean_mark_persistent(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__2);
l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__3 = _init_l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__3();
lean_mark_persistent(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__3);
l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__4 = _init_l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__4();
lean_mark_persistent(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__4);
l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__5 = _init_l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__5();
lean_mark_persistent(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__7_spec__8_spec__8___redArg___closed__5);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1___closed__0();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1___closed__0);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1___closed__1();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___lam__1___closed__1);
l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___closed__0();
lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec_spec__1___closed__0);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__0___closed__0 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__0___closed__0();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__0___closed__0);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__0 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__0();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__0);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__1 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__1();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__1);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__2 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__2();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__2);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__3 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__3();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__3);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__4 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__4();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__4);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__5 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__5();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__5);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__6 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__6();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__6);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__7 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__7();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___closed__7);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___boxed__const__1 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___boxed__const__1();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___lam__2___boxed__const__1);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___closed__0 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___closed__0();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___closed__0);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___closed__1 = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___closed__1();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_mkBRecOnFromRec___closed__1);
l_Lean_mkBRecOn___closed__0 = _init_l_Lean_mkBRecOn___closed__0();
lean_mark_persistent(l_Lean_mkBRecOn___closed__0);
l_Lean_mkBRecOn___closed__1 = _init_l_Lean_mkBRecOn___closed__1();
lean_mark_persistent(l_Lean_mkBRecOn___closed__1);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__0_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__0_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__0_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__1_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__1_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__1_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__2_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__2_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__2_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__3_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__3_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__3_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__4_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__4_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__4_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__5_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__5_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__5_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__6_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__6_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__6_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__7_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__7_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__7_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__8_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__8_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__8_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__9_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__9_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__9_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__10_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__10_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__10_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__11_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__11_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__11_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__12_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__12_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__12_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__13_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__13_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__13_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__14_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__14_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__14_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__15_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__15_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__15_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__16_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__16_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__16_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__17_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__17_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__17_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__18_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__18_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__18_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__19_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__19_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__19_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__20_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__20_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__20_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__21_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__21_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__21_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__22_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__22_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__22_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__23_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__23_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__23_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__24_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_ = _init_l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__24_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
lean_mark_persistent(l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn___closed__24_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_);
if (builtin) {res = l___private_Lean_Meta_Constructions_BRecOn_0__Lean_initFn_00___x40_Lean_Meta_Constructions_BRecOn_2304625798____hygCtx___hyg_2_();
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
}return lean_io_result_mk_ok(lean_box(0));
}
#ifdef __cplusplus
}
#endif
